From 3c6a471e1ac91a23e98533bba0548c3a61ecc44d Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Mon, 4 Aug 2008 13:21:11 +0000 Subject: 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=/trunk/; revision=8380 --- embed/downloader-view.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'embed') diff --git a/embed/downloader-view.c b/embed/downloader-view.c index a5e59eed9..067477adc 100644 --- a/embed/downloader-view.c +++ b/embed/downloader-view.c @@ -138,11 +138,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 @@ -284,13 +279,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); -- cgit v1.2.3