From 97bebf571d335e616028401389f36118e03f043d Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sat, 20 Sep 2003 14:18:01 +0000 Subject: Use gconf_client_notify. Fixed bug #112882. 2003-09-20 Christian Persch * embed/mozilla/mozilla-notifiers.cpp: Use gconf_client_notify. Fixed bug #112882. --- ChangeLog | 6 ++++++ embed/mozilla/mozilla-notifiers.cpp | 11 +---------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 251e49f80..a63eb752d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-09-20 Christian Persch + + * embed/mozilla/mozilla-notifiers.cpp: + + Use gconf_client_notify. Fixed bug #112882. + 2003-09-20 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init): diff --git a/embed/mozilla/mozilla-notifiers.cpp b/embed/mozilla/mozilla-notifiers.cpp index 0b5867921..a7889c88a 100644 --- a/embed/mozilla/mozilla-notifiers.cpp +++ b/embed/mozilla/mozilla-notifiers.cpp @@ -379,16 +379,7 @@ add_notification_and_notify (GConfClient *client, mozilla_notifiers = g_list_append (mozilla_notifiers, GUINT_TO_POINTER (cnxn_id)); - entry = gconf_client_get_entry (client, key, NULL, TRUE, &error); - if (eel_gconf_handle_error (&error)) - { - return; - } - g_return_if_fail (entry != NULL); - - func (client, cnxn_id, entry, user_data); - - gconf_entry_free (entry); + gconf_client_notify (client, key); } void -- cgit v1.2.3