diff options
author | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2008-08-04 21:23:07 +0800 |
---|---|---|
committer | Diego Escalante Urrelo <diegoe@src.gnome.org> | 2008-08-04 21:23:07 +0800 |
commit | 90225c8e0c40d16f61771ea86f6f484b72e440be (patch) | |
tree | b6e27f765f2918d0b3fc8ae2c305fbb329e497f8 /embed/downloader-view.c | |
parent | 3533da6235d948a7a9b4fc637bbb88bfcba22aa1 (diff) | |
download | gsoc2013-epiphany-90225c8e0c40d16f61771ea86f6f484b72e440be.tar gsoc2013-epiphany-90225c8e0c40d16f61771ea86f6f484b72e440be.tar.gz gsoc2013-epiphany-90225c8e0c40d16f61771ea86f6f484b72e440be.tar.bz2 gsoc2013-epiphany-90225c8e0c40d16f61771ea86f6f484b72e440be.tar.lz gsoc2013-epiphany-90225c8e0c40d16f61771ea86f6f484b72e440be.tar.xz gsoc2013-epiphany-90225c8e0c40d16f61771ea86f6f484b72e440be.tar.zst gsoc2013-epiphany-90225c8e0c40d16f61771ea86f6f484b72e440be.zip |
Move libnotify initialization to ephy-main
This should fix the crash when libnotify was uninit before the notification was
actually shown. Fix suggested by Colin Walters, closes: #536768.
svn path=/branches/gnome-2-24/; revision=8382
Diffstat (limited to 'embed/downloader-view.c')
-rw-r--r-- | embed/downloader-view.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/embed/downloader-view.c b/embed/downloader-view.c index 66de70b89..68ce1af72 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -141,11 +141,6 @@ downloader_view_class_init (DownloaderViewClass *klass) object_class->finalize = downloader_view_finalize; g_type_class_add_private (object_class, sizeof(DownloaderViewPrivate)); - -#ifdef HAVE_LIBNOTIFY - notify_init (PACKAGE); -#endif - } static void @@ -289,13 +284,6 @@ downloader_view_finalize (GObject *object) G_OBJECT_CLASS (downloader_view_parent_class)->finalize (object); -#ifdef HAVE_LIBNOTIFY - if (notify_is_initted ()) - { - notify_uninit (); - } -#endif - if (idle_unref) { ephy_object_idle_unref (embed_shell); |