diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-10-30 06:41:05 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-10-30 06:41:05 +0800 |
commit | c9ccac921537b68b5620b485848094a0ffecc3c1 (patch) | |
tree | 865ab706e15c948f8828581eeb1b27d5bcbee9f7 /lib/ephy-shlib-loader.c | |
parent | f0cae57f3be1b8ac61a09086dfe0eff1b8657013 (diff) | |
download | gsoc2013-epiphany-c9ccac921537b68b5620b485848094a0ffecc3c1.tar gsoc2013-epiphany-c9ccac921537b68b5620b485848094a0ffecc3c1.tar.gz gsoc2013-epiphany-c9ccac921537b68b5620b485848094a0ffecc3c1.tar.bz2 gsoc2013-epiphany-c9ccac921537b68b5620b485848094a0ffecc3c1.tar.lz gsoc2013-epiphany-c9ccac921537b68b5620b485848094a0ffecc3c1.tar.xz gsoc2013-epiphany-c9ccac921537b68b5620b485848094a0ffecc3c1.tar.zst gsoc2013-epiphany-c9ccac921537b68b5620b485848094a0ffecc3c1.zip |
Move idle unreffing to extensions manager. Makes sure that extensions are
2004-10-30 Christian Persch <chpe@cvs.gnome.org>
* lib/ephy-shlib-loader.c: (impl_release_object):
* src/ephy-extensions-manager.c: (idle_unref), (unload_extension):
Move idle unreffing to extensions manager. Makes sure that extensions
are finalised.
Diffstat (limited to 'lib/ephy-shlib-loader.c')
-rw-r--r-- | lib/ephy-shlib-loader.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/ephy-shlib-loader.c b/lib/ephy-shlib-loader.c index 8c6db15b0..5877ee341 100644 --- a/lib/ephy-shlib-loader.c +++ b/lib/ephy-shlib-loader.c @@ -142,14 +142,6 @@ find_object (const LoaderData *data, return data->object != object; } -static gboolean -idle_unref (GObject *object) -{ - g_object_unref (object); - - return FALSE; -} - static GObject * impl_get_object (EphyLoader *eloader, GData **attributes) @@ -224,12 +216,7 @@ impl_release_object (EphyLoader *eloader, g_return_if_fail (l != NULL); data = l->data; - /* FIXME: should we consider those extensions broken? - * Only unref the extension in the idle loop; if the extension has its - * own functions queued in the idle loop, the functions must exist in - * memory before being called. - */ - g_idle_add ((GSourceFunc) idle_unref, data->object); + g_object_unref (data->object); data->object = NULL; } |