[gnome-control-center] screen: remove unused code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] screen: remove unused code
- Date: Fri, 4 Jan 2013 19:35:26 +0000 (UTC)
commit 9ae15e6df8cf184472854cabadf8993bef615509
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Jan 4 16:08:15 2013 +0100
screen: remove unused code
https://bugzilla.gnome.org/show_bug.cgi?id=691132
panels/screen/cc-screen-panel.c | 29 -----------------------------
1 files changed, 0 insertions(+), 29 deletions(-)
---
diff --git a/panels/screen/cc-screen-panel.c b/panels/screen/cc-screen-panel.c
index 7a855fc..2a9e108 100644
--- a/panels/screen/cc-screen-panel.c
+++ b/panels/screen/cc-screen-panel.c
@@ -41,33 +41,6 @@ struct _CcScreenPanelPrivate
gboolean setting_brightness;
};
-
-static void
-cc_screen_panel_get_property (GObject *object,
- guint property_id,
- GValue *value,
- GParamSpec *pspec)
-{
- switch (property_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
- }
-}
-
-static void
-cc_screen_panel_set_property (GObject *object,
- guint property_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- switch (property_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
- }
-}
-
static void
cc_screen_panel_dispose (GObject *object)
{
@@ -158,8 +131,6 @@ cc_screen_panel_class_init (CcScreenPanelClass *klass)
g_type_class_add_private (klass, sizeof (CcScreenPanelPrivate));
- object_class->get_property = cc_screen_panel_get_property;
- object_class->set_property = cc_screen_panel_set_property;
object_class->dispose = cc_screen_panel_dispose;
panel_class->get_help_uri = cc_screen_panel_get_help_uri;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]