[gthumb] use the state-flags-changes signal instead of the deprecated state-change



commit 1427c06947eadb5504df542377b42d67bf57dc2c
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Oct 27 15:28:49 2011 +0200

    use the state-flags-changes signal instead of the deprecated state-change

 .../importer/gth-import-destination-button.c       |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/extensions/importer/gth-import-destination-button.c b/extensions/importer/gth-import-destination-button.c
index ab53d15..93c1468 100644
--- a/extensions/importer/gth-import-destination-button.c
+++ b/extensions/importer/gth-import-destination-button.c
@@ -102,9 +102,9 @@ gth_import_destination_button_class_init (GthImportDestinationButtonClass *klass
 
 
 static void
-subfolder_label_state_changed_cb (GtkWidget   *widget,
-				  GtkStateType state,
-				  gpointer     user_data)
+subfolder_label_state_changed_cb (GtkWidget     *widget,
+				  GtkStateFlags  flags,
+				  gpointer       user_data)
 {
 	_update_subfolder_label_color (GTH_IMPORT_DESTINATION_BUTTON (user_data));
 }
@@ -142,8 +142,8 @@ gth_import_destination_button_init (GthImportDestinationButton *self)
 	gtk_box_pack_start (GTK_BOX (label_box), self->priv->subfolder_label, TRUE, TRUE, 0);
 
 	g_signal_connect (self->priv->subfolder_label,
-			  "state-changed",
-			  G_CALLBACK (subfolder_label_state_changed_cb),
+			  "state-flags-changed",
+			  G_CALLBACK (subfolder_label_state_flags_changed_cb),
 			  self);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]