From 26aba8a5e3dd31720bc452f70cac37df7f2f9597 Mon Sep 17 00:00:00 2001 From: Bradford Hovinen Date: Tue, 18 Dec 2001 16:18:35 +0000 Subject: [PATCH] Use actual signature for the changed signal 2001-12-18 Bradford Hovinen * gconf-property-editor.c (peditor_string_widget_changed): Use actual signature for the changed signal --- capplets/common/ChangeLog | 5 +++++ capplets/common/gconf-property-editor.c | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/capplets/common/ChangeLog b/capplets/common/ChangeLog index 09d410e0a..815986cd3 100644 --- a/capplets/common/ChangeLog +++ b/capplets/common/ChangeLog @@ -1,3 +1,8 @@ +2001-12-18 Bradford Hovinen + + * gconf-property-editor.c (peditor_string_widget_changed): Use + actual signature for the changed signal + 2001-12-17 Bradford Hovinen * gconf-property-editor.c (peditor_color_value_changed): Use a diff --git a/capplets/common/gconf-property-editor.c b/capplets/common/gconf-property-editor.c index fc806eb68..77e6f6e61 100644 --- a/capplets/common/gconf-property-editor.c +++ b/capplets/common/gconf-property-editor.c @@ -311,13 +311,9 @@ peditor_string_value_changed (GConfEngine *engine, guint cnxn_id, GConfEntry *en } static void -peditor_string_widget_changed (GConfPropertyEditor *peditor) +peditor_string_widget_changed (GConfPropertyEditor *peditor, GtkEntry *entry) { GConfValue *value; - GtkEntry *entry; - - /* I do this so that we don't have to deal with multiple callback signatures */ - entry = g_object_get_data (peditor, "entry"); gconf_change_set_set_string (peditor->p->changeset, peditor->p->key, gtk_entry_get_text (entry)); gconf_change_set_check_value (peditor->p->changeset, peditor->p->key, &value);