shell: Remove obsolete libnotify dependency

The notification code to open the firewall ports was removed
in commit 45ba8e89e8, but libnotify
was still initialised.

https://bugzilla.gnome.org/show_bug.cgi?id=697035
This commit is contained in:
Bastien Nocera 2013-04-02 11:05:55 +02:00
parent c28ea475a4
commit 015cd17f96
2 changed files with 1 additions and 5 deletions

View file

@ -117,8 +117,7 @@ COMMON_MODULES="gtk+-3.0 >= $GTK_REQUIRED_VERSION
gthread-2.0
gio-2.0
gio-unix-2.0
gsettings-desktop-schemas >= $SCHEMAS_REQUIRED_VERSION
libnotify >= $LIBNOTIFY_REQUIRED_VERSION"
gsettings-desktop-schemas >= $SCHEMAS_REQUIRED_VERSION"
LIBGD_INIT([_view-common notification main-toolbar header-bar stack static])

View file

@ -24,7 +24,6 @@
#include <glib.h>
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <libnotify/notify.h>
#include "cc-application.h"
#include "cc-panel-loader.h"
@ -289,8 +288,6 @@ cc_application_startup (GApplication *application)
/* register a symbolic icon size for use in sidebar lists */
gtk_icon_size_register ("cc-sidebar-list", 24, 24);
notify_init ("gnome-control-center");
action = g_simple_action_new ("help", NULL);
g_action_map_add_action (G_ACTION_MAP (application), G_ACTION (action));
g_signal_connect (action, "activate", G_CALLBACK (help_activated), self);