[network-manager-applet] editor: remove unused argument from CEPage 'initialized' signal



commit 98593b8fd368803f6eb91d3bf52eade6faac3929
Author: Dan Williams <dcbw redhat com>
Date:   Wed Feb 23 19:38:58 2011 -0600

    editor: remove unused argument from CEPage 'initialized' signal

 src/connection-editor/ce-page.c              |    6 +++---
 src/connection-editor/ce-page.h              |    2 +-
 src/connection-editor/nm-connection-editor.c |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/connection-editor/ce-page.c b/src/connection-editor/ce-page.c
index db18593..5288458 100644
--- a/src/connection-editor/ce-page.c
+++ b/src/connection-editor/ce-page.c
@@ -171,7 +171,7 @@ static void
 emit_initialized (CEPage *self, GError *error)
 {
 	self->initialized = TRUE;
-	g_signal_emit (self, signals[INITIALIZED], 0, NULL, error);
+	g_signal_emit (self, signals[INITIALIZED], 0, error);
 }
 
 void
@@ -391,8 +391,8 @@ ce_page_class_init (CEPageClass *page_class)
 	                      G_SIGNAL_RUN_FIRST,
 	                      G_STRUCT_OFFSET (CEPageClass, initialized),
 	                      NULL, NULL,
-	                      nma_marshal_VOID__POINTER_POINTER,
-	                      G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_POINTER);
+	                      g_cclosure_marshal_VOID__POINTER,
+	                      G_TYPE_NONE, 1, G_TYPE_POINTER);
 }
 
 
diff --git a/src/connection-editor/ce-page.h b/src/connection-editor/ce-page.h
index b7d0466..7cacfb5 100644
--- a/src/connection-editor/ce-page.h
+++ b/src/connection-editor/ce-page.h
@@ -83,7 +83,7 @@ typedef struct {
 
 	/* Signals */
 	void        (*changed)     (CEPage *self);
-	void        (*initialized) (CEPage *self, GHashTable *secrets, GError *error);
+	void        (*initialized) (CEPage *self, GError *error);
 } CEPageClass;
 
 
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c
index 494bd02..de61656 100644
--- a/src/connection-editor/nm-connection-editor.c
+++ b/src/connection-editor/nm-connection-editor.c
@@ -521,7 +521,7 @@ recheck_initialization (NMConnectionEditor *editor)
 }
 
 static void
-page_initialized (CEPage *page, gpointer unused, GError *error, gpointer user_data)
+page_initialized (CEPage *page, GError *error, gpointer user_data)
 {
 	NMConnectionEditor *editor = NM_CONNECTION_EDITOR (user_data);
 	GtkWidget *widget;



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