diff --git a/thunar/thunar-shortcuts-model.c b/thunar/thunar-shortcuts-model.c index 9f6848038..abba89ad1 100644 --- a/thunar/thunar-shortcuts-model.c +++ b/thunar/thunar-shortcuts-model.c @@ -1216,6 +1216,7 @@ thunar_shortcuts_model_add_shortcut_with_path (ThunarShortcutsModel *model, _thunar_return_if_fail (THUNAR_IS_SHORTCUTS_MODEL (model)); _thunar_return_if_fail (shortcut->file == NULL || THUNAR_IS_FILE (shortcut->file)); +#if 0 /* we want to stay informed about changes to the file */ if (G_LIKELY (shortcut->file != NULL)) { @@ -1228,6 +1229,7 @@ thunar_shortcuts_model_add_shortcut_with_path (ThunarShortcutsModel *model, g_signal_connect (G_OBJECT (shortcut->file), "destroy", G_CALLBACK (thunar_shortcuts_model_file_destroy), model); } +#endif if (path == NULL) { @@ -1741,6 +1743,7 @@ static void thunar_shortcut_free (ThunarShortcut *shortcut, ThunarShortcutsModel *model) { +#if 0 if (G_LIKELY (shortcut->file != NULL)) { /* drop the file watch */ @@ -1752,6 +1755,7 @@ thunar_shortcut_free (ThunarShortcut *shortcut, 0, NULL, NULL, model); g_object_unref (shortcut->file); } +#endif if (G_LIKELY (shortcut->device != NULL)) g_object_unref (shortcut->device);