From 44b1590100d84fec2709ccf51874aa9b47b75e76 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 30 Apr 2009 01:17:57 +0200 Subject: [PATCH] Fix saving changes to the Download folder --- katze/katze-utils.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/katze/katze-utils.c b/katze/katze-utils.c index 4bbee3b3..721b3ab2 100644 --- a/katze/katze-utils.c +++ b/katze/katze-utils.c @@ -219,14 +219,9 @@ katze_property_proxy (gpointer object, string = g_strdup (G_PARAM_SPEC_STRING (pspec)->default_value); gtk_file_chooser_set_filename (GTK_FILE_CHOOSER (widget), string ? string : ""); - #if GTK_CHECK_VERSION (2, 12, 0) - g_signal_connect (widget, "file-set", - G_CALLBACK (proxy_file_file_set_cb), object); - #else if (pspec->flags & G_PARAM_WRITABLE) g_signal_connect (widget, "selection-changed", G_CALLBACK (proxy_file_file_set_cb), object); - #endif } else if (type == G_TYPE_PARAM_STRING && _hint == g_intern_string ("folder")) { @@ -238,14 +233,9 @@ katze_property_proxy (gpointer object, string = g_strdup (G_PARAM_SPEC_STRING (pspec)->default_value); gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (widget), string ? string : ""); - #if GTK_CHECK_VERSION (2, 12, 0) - g_signal_connect (widget, "file-set", - G_CALLBACK (proxy_folder_file_set_cb), object); - #else if (pspec->flags & G_PARAM_WRITABLE) g_signal_connect (widget, "selection-changed", G_CALLBACK (proxy_folder_file_set_cb), object); - #endif } else if (type == G_TYPE_PARAM_STRING && _hint == g_intern_string ("uri")) {