diff options
author | Debarshi Ray <debarshir@gnome.org> | 2014-06-17 11:28:20 +0200 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2014-06-17 18:50:27 +0200 |
commit | 9475b514bcfcac7577c58115aead3f385843367c (patch) | |
tree | bf49cf9742e59146689e50347410d41c3a219b98 | |
parent | 39857522e7027f6e54f5e10bc9783ea2e842e482 (diff) | |
download | gnome-control-center-9475b514bcfcac7577c58115aead3f385843367c.tar.gz |
background: Remove empty property getters and setters
https://bugzilla.gnome.org/show_bug.cgi?id=731713
-rw-r--r-- | panels/background/bg-pictures-source.c | 28 | ||||
-rw-r--r-- | panels/background/bg-wallpapers-source.c | 28 |
2 files changed, 0 insertions, 56 deletions
diff --git a/panels/background/bg-pictures-source.c b/panels/background/bg-pictures-source.c index 07e5e77e5..d10e012c4 100644 --- a/panels/background/bg-pictures-source.c +++ b/panels/background/bg-pictures-source.c @@ -73,32 +73,6 @@ const char * const screenshot_types[] = { static char *bg_pictures_source_get_unique_filename (const char *uri); static void -bg_pictures_source_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 -bg_pictures_source_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 bg_pictures_source_dispose (GObject *object) { BgPicturesSourcePrivate *priv = BG_PICTURES_SOURCE (object)->priv; @@ -137,8 +111,6 @@ bg_pictures_source_class_init (BgPicturesSourceClass *klass) g_type_class_add_private (klass, sizeof (BgPicturesSourcePrivate)); - object_class->get_property = bg_pictures_source_get_property; - object_class->set_property = bg_pictures_source_set_property; object_class->dispose = bg_pictures_source_dispose; object_class->finalize = bg_pictures_source_finalize; } diff --git a/panels/background/bg-wallpapers-source.c b/panels/background/bg-wallpapers-source.c index d778e477d..a741bbf45 100644 --- a/panels/background/bg-wallpapers-source.c +++ b/panels/background/bg-wallpapers-source.c @@ -41,32 +41,6 @@ struct _BgWallpapersSourcePrivate static void -bg_wallpapers_source_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 -bg_wallpapers_source_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 bg_wallpapers_source_dispose (GObject *object) { BgWallpapersSourcePrivate *priv = BG_WALLPAPERS_SOURCE (object)->priv; @@ -84,8 +58,6 @@ bg_wallpapers_source_class_init (BgWallpapersSourceClass *klass) g_type_class_add_private (klass, sizeof (BgWallpapersSourcePrivate)); - object_class->get_property = bg_wallpapers_source_get_property; - object_class->set_property = bg_wallpapers_source_set_property; object_class->dispose = bg_wallpapers_source_dispose; } |