From 015cd17f96e19f56e2e00b6a2142540fc81bdda3 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 2 Apr 2013 11:05:55 +0200 Subject: [PATCH] shell: Remove obsolete libnotify dependency The notification code to open the firewall ports was removed in commit 45ba8e89e86397df912e07df14d76373f1c7e7af, but libnotify was still initialised. https://bugzilla.gnome.org/show_bug.cgi?id=697035 --- configure.ac | 3 +-- shell/cc-application.c | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 3b57bea9a..4bb84ad30 100644 --- a/configure.ac +++ b/configure.ac @@ -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]) diff --git a/shell/cc-application.c b/shell/cc-application.c index 86f1c2d5c..72a61436b 100644 --- a/shell/cc-application.c +++ b/shell/cc-application.c @@ -24,7 +24,6 @@ #include #include #include -#include #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);