Lines 50-55
Link Here
|
50 |
#include <errno.h> |
50 |
#include <errno.h> |
51 |
#include <string.h> |
51 |
#include <string.h> |
52 |
|
52 |
|
|
|
53 |
#ifdef HAVE_LIBNOTIFY |
54 |
#include <libnotify/notify.h> |
55 |
#endif |
56 |
|
53 |
static GQuark startup_error_quark = 0; |
57 |
static GQuark startup_error_quark = 0; |
54 |
#define STARTUP_ERROR_QUARK (startup_error_quark) |
58 |
#define STARTUP_ERROR_QUARK (startup_error_quark) |
55 |
|
59 |
|
Lines 737-745
main (int argc,
Link Here
|
737 |
g_object_weak_ref (G_OBJECT (ephy_shell), shell_weak_notify, NULL); |
741 |
g_object_weak_ref (G_OBJECT (ephy_shell), shell_weak_notify, NULL); |
738 |
ephy_object_idle_unref (ephy_shell); |
742 |
ephy_object_idle_unref (ephy_shell); |
739 |
|
743 |
|
|
|
744 |
#ifdef HAVE_LIBNOTIFY |
745 |
/* Init notifications for the download manager */ |
746 |
notify_init (PACKAGE); |
747 |
#endif |
748 |
|
740 |
gtk_main (); |
749 |
gtk_main (); |
741 |
|
750 |
|
742 |
/* Shutdown */ |
751 |
/* Shutdown */ |
|
|
752 |
#ifdef HAVE_LIBNOTIFY |
753 |
if (notify_is_initted ()) |
754 |
notify_uninit (); |
755 |
#endif |
743 |
eel_gconf_monitor_remove ("/apps/epiphany/general"); |
756 |
eel_gconf_monitor_remove ("/apps/epiphany/general"); |
744 |
gnome_accelerators_sync (); |
757 |
gnome_accelerators_sync (); |
745 |
ephy_state_save (); |
758 |
ephy_state_save (); |