[gnome-control-center] info: remove unused code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: remove unused code
- Date: Sat, 9 Apr 2016 04:09:47 +0000 (UTC)
commit 60e7c350fe405d340e45cf43ed116dddf268316c
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Fri Apr 8 15:56:09 2016 -0700
info: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=754256
panels/info/cc-info-panel.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index ad89d54..14bfd9c 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -57,10 +57,6 @@
#define MEDIA_HANDLING_SCHEMA "org.gnome.desktop.media-handling"
-/* Session */
-#define GNOME_SESSION_MANAGER_SCHEMA "org.gnome.desktop.session"
-#define KEY_SESSION_NAME "session-name"
-
#define WID(w) (GtkWidget *) gtk_builder_get_object (self->priv->builder, w)
CC_PANEL_REGISTER (CcInfoPanel, cc_info_panel)
@@ -103,8 +99,6 @@ struct _CcInfoPanelPrivate
GSettings *media_settings;
GtkWidget *other_application_combo;
- GDBusConnection *session_bus;
-
GraphicsData *graphics_data;
};
@@ -1561,10 +1555,6 @@ cc_info_panel_init (CcInfoPanel *self)
self->priv->media_settings = g_settings_new (MEDIA_HANDLING_SCHEMA);
- self->priv->session_bus = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, NULL);
-
- g_assert (self->priv->session_bus);
-
if (gtk_builder_add_from_resource (self->priv->builder,
"/org/gnome/control-center/info/info.ui",
&error) == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]