[gnome-control-center] [display] Remove last GConf leftovers



commit 5ca286593a5d50a9b6d19309f495eb814901cc49
Author: Rodrigo Moya <rodrigo gnome-db org>
Date:   Mon Oct 11 11:48:40 2010 +0200

    [display] Remove last GConf leftovers

 panels/display/xrandr-capplet.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/panels/display/xrandr-capplet.c b/panels/display/xrandr-capplet.c
index 8becef7..fe771ee 100644
--- a/panels/display/xrandr-capplet.c
+++ b/panels/display/xrandr-capplet.c
@@ -33,7 +33,6 @@
 #include <gdk/gdkx.h>
 #include <X11/Xlib.h>
 #include <glib/gi18n.h>
-#include <gconf/gconf-client.h>
 #include <dbus/dbus-glib.h>
 #include <dbus/dbus-glib-bindings.h>
 
@@ -71,7 +70,6 @@ struct App
 
     GtkWidget      *area;
     gboolean	    ignore_gui_changes;
-    GConfClient	   *client;
 
     /* These are used while we are waiting for the ApplyConfiguration method to be executed over D-bus */
     DBusGConnection *connection;
@@ -2318,7 +2316,6 @@ static void
 destroy_app (App *app)
 {
     gnome_rr_screen_destroy (app->screen);
-    g_object_unref (app->client);
     g_object_unref (app->builder);
     gnome_rr_labeler_hide (app->labeler);
     g_object_unref (app->labeler);
@@ -2362,8 +2359,6 @@ run_application (void)
 	return NULL;
     }
 
-    app->client = gconf_client_get_default ();
-
     app->panel = _gtk_builder_get_widget (builder, "display-panel");
 
     if (!app->panel)



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