[gnome-utils] No need to use connect_after



commit a4370d577b648b335f576c55a7f967ffeebd39b2
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jul 24 20:39:34 2010 +0200

    No need to use connect_after

 baobab/src/baobab-prefs.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/baobab/src/baobab-prefs.c b/baobab/src/baobab-prefs.c
index 1ceec28..2fe62a1 100644
--- a/baobab/src/baobab-prefs.c
+++ b/baobab/src/baobab-prefs.c
@@ -325,13 +325,11 @@ baobab_prefs_dialog (void)
 	gtk_toggle_button_set_active ((GtkToggleButton *) check_enablehome,
 				      baobab.monitor_home);
 
-	g_signal_connect_after ((GtkToggleButton *) check_enablehome,
-				"toggled", G_CALLBACK (enable_home_cb),
-				NULL);
+	g_signal_connect (check_enablehome, "toggled",
+			  G_CALLBACK (enable_home_cb), NULL);
 
 	g_signal_connect (dlg, "response",
-		    	  G_CALLBACK (filechooser_response_cb),
-		    	  model);
+			  G_CALLBACK (filechooser_response_cb), model);
 
 	gtk_widget_show_all (dlg);
 }



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