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. --- embed/mozilla/mozilla-notifiers.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'embed/mozilla') 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