aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-system-monitor/007-deprecated-gconf_init.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gnome-system-monitor/007-deprecated-gconf_init.patch')
-rw-r--r--main/gnome-system-monitor/007-deprecated-gconf_init.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/gnome-system-monitor/007-deprecated-gconf_init.patch b/main/gnome-system-monitor/007-deprecated-gconf_init.patch
new file mode 100644
index 0000000000..beb52e0016
--- /dev/null
+++ b/main/gnome-system-monitor/007-deprecated-gconf_init.patch
@@ -0,0 +1,23 @@
+From 94636329cba97708f245f678ca0b85fec7f3d819 Mon Sep 17 00:00:00 2001
+From: Chris Kühl <chrisk@openismus.com>
+Date: Thu, 27 Jan 2011 10:55:10 +0000
+Subject: Removed use of deprecated gconf_init.
+
+---
+diff --git a/src/procman.cpp b/src/procman.cpp
+index c9a5ac5..19c4cbc 100644
+--- a/src/procman.cpp
++++ b/src/procman.cpp
+@@ -717,9 +717,7 @@ main (int argc, char *argv[])
+
+ gtk_window_set_default_icon_name ("utilities-system-monitor");
+ g_set_application_name(_("System Monitor"));
+-
+- gconf_init (argc, argv, NULL);
+-
++
+ client = gconf_client_get_default ();
+ gconf_client_add_dir(client, "/apps/procman", GCONF_CLIENT_PRELOAD_NONE, NULL);
+
+--
+cgit v0.9