[nautilus-actions] src/nact/nact-preferences-editor.c: remove duplicate signal connections



commit 70cf5ef208a37181ee076f22199d2668b99a8a98
Author: Pierre Wieser <pwieser trychlos org>
Date:   Sun Jan 29 11:56:05 2012 +0100

    src/nact/nact-preferences-editor.c: remove duplicate signal connections

 ChangeLog                          |    3 +++
 src/nact/nact-preferences-editor.c |   18 ------------------
 2 files changed, 3 insertions(+), 18 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0254578..ac5ce0c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2012-01-29 Pierre Wieser <pwieser trychlos org>
 
+	* src/nact/nact-preferences-editor.c (instance_init):
+	Remove signal connections already done in instance_contructed().
+
 	* src/core/na-io-provider.c (na_io_provider_write_item):
 	Reset the NAIOProvider after having wrote the item.
 
diff --git a/src/nact/nact-preferences-editor.c b/src/nact/nact-preferences-editor.c
index 714855b..9121d84 100644
--- a/src/nact/nact-preferences-editor.c
+++ b/src/nact/nact-preferences-editor.c
@@ -342,24 +342,6 @@ instance_init( GTypeInstance *instance, gpointer klass )
 
 	self->private = g_new0( NactPreferencesEditorPrivate, 1 );
 
-	base_window_signal_connect(
-			BASE_WINDOW( instance ),
-			G_OBJECT( instance ),
-			BASE_SIGNAL_INITIALIZE_GTK,
-			G_CALLBACK( on_base_initialize_gtk ));
-
-	base_window_signal_connect(
-			BASE_WINDOW( instance ),
-			G_OBJECT( instance ),
-			BASE_SIGNAL_INITIALIZE_WINDOW,
-			G_CALLBACK( on_base_initialize_window ));
-
-	base_window_signal_connect(
-			BASE_WINDOW( instance ),
-			G_OBJECT( instance ),
-			BASE_SIGNAL_SHOW_WIDGETS,
-			G_CALLBACK( on_base_show_widgets));
-
 	self->private->dispose_has_run = FALSE;
 }
 



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