[gnome-control-center] shell: Remove obsolete libnotify dependency



commit 015cd17f96e19f56e2e00b6a2142540fc81bdda3
Author: Bastien Nocera <hadess hadess net>
Date:   Tue Apr 2 11:05:55 2013 +0200

    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 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3b57bea..4bb84ad 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 86f1c2d..72a6143 100644
--- a/shell/cc-application.c
+++ b/shell/cc-application.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]