[network-manager-applet/NMA_0_8] editor: remove unused argument from CEPage 'initialized' signal
- From: Dan Williams <dcbw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-applet/NMA_0_8] editor: remove unused argument from CEPage 'initialized' signal
- Date: Thu, 24 Feb 2011 03:39:59 +0000 (UTC)
commit f1bca7dccbc4543b64c7883a00e9e8186fbe7d08
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 889be7f..79730b0 100644
--- a/src/connection-editor/ce-page.c
+++ b/src/connection-editor/ce-page.c
@@ -172,7 +172,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
@@ -390,8 +390,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 34b3257..b01ce91 100644
--- a/src/connection-editor/nm-connection-editor.c
+++ b/src/connection-editor/nm-connection-editor.c
@@ -530,7 +530,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]