[bijiben] settings-dialog: Don't override getter and setter



commit 0e3c6c929c411bf0d66f581e1adc4dd1761bcc61
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Fri Nov 24 14:45:23 2017 +0530

    settings-dialog: Don't override getter and setter
    
    The overridden function didn't do anything useful. So better
    not override.
    
    This is a part of effort to clean up codebase and make the code more
    maintainable.
    https://bugzilla.gnome.org/show_bug.cgi?id=789696

 src/bjb-settings-dialog.c |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/src/bjb-settings-dialog.c b/src/bjb-settings-dialog.c
index a480cf4..f5e5ad9 100644
--- a/src/bjb-settings-dialog.c
+++ b/src/bjb-settings-dialog.c
@@ -331,25 +331,6 @@ bjb_settings_dialog_finalize (GObject *object)
   G_OBJECT_CLASS (bjb_settings_dialog_parent_class)->finalize (object);
 }
 
-
-static void
-bjb_settings_dialog_get_property (GObject    *object,
-                                  guint       prop_id,
-                                  GValue     *value,
-                                  GParamSpec *pspec)
-{
-  G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-}
-
-static void
-bjb_settings_dialog_set_property (GObject      *object,
-                                  guint         prop_id,
-                                  const GValue *value,
-                                  GParamSpec   *pspec)
-{
-  G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-}
-
 static void
 bjb_settings_dialog_init (BjbSettingsDialog *self)
 {
@@ -365,8 +346,6 @@ bjb_settings_dialog_class_init (BjbSettingsDialogClass *klass)
   g_object_class = G_OBJECT_CLASS (klass);
   gtk_widget_class = GTK_WIDGET_CLASS (klass);
 
-  g_object_class->set_property = bjb_settings_dialog_set_property;
-  g_object_class->get_property = bjb_settings_dialog_get_property;
   g_object_class->finalize = bjb_settings_dialog_finalize;
   g_object_class->constructed = bjb_settings_dialog_constructed;
 


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