Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 174413 Details for
Bug 250031
www-client/epiphany-2.22.3 crashes usually when download finishes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
epiphany-2.22.3-notify-crash-fix.patch
epiphany-2.22.3-notify-crash-fix.patch (text/plain), 1.55 KB, created by
Pacho Ramos
on 2008-12-06 15:29:25 UTC
(
hide
)
Description:
epiphany-2.22.3-notify-crash-fix.patch
Filename:
MIME Type:
Creator:
Pacho Ramos
Created:
2008-12-06 15:29:25 UTC
Size:
1.55 KB
patch
obsolete
>3cc902d2fd203127a98e027f42175db35dafa579 >diff --git a/embed/downloader-view.c b/embed/downloader-view.c >index 66de70b..68ce1af 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); >diff --git a/src/ephy-main.c b/src/ephy-main.c >index 13c8f9e..4e92d42 100644 >--- a/src/ephy-main.c >+++ b/src/ephy-main.c >@@ -50,6 +50,10 @@ > #include <errno.h> > #include <string.h> > >+#ifdef HAVE_LIBNOTIFY >+#include <libnotify/notify.h> >+#endif >+ > static GQuark startup_error_quark = 0; > #define STARTUP_ERROR_QUARK (startup_error_quark) > >@@ -737,9 +741,18 @@ main (int argc, > g_object_weak_ref (G_OBJECT (ephy_shell), shell_weak_notify, NULL); > ephy_object_idle_unref (ephy_shell); > >+#ifdef HAVE_LIBNOTIFY >+ /* Init notifications for the download manager */ >+ notify_init (PACKAGE); >+#endif >+ > gtk_main (); > > /* Shutdown */ >+#ifdef HAVE_LIBNOTIFY >+ if (notify_is_initted ()) >+ notify_uninit (); >+#endif > eel_gconf_monitor_remove ("/apps/epiphany/general"); > gnome_accelerators_sync (); > ephy_state_save ();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250031
: 174413 |
174415