[gnome-builder] plugins/editorui: remove dead code



commit 3499850d1a322c785ed9d4a09a70f697a6f5884f
Author: Christian Hergert <chergert redhat com>
Date:   Fri Aug 12 16:34:37 2022 -0700

    plugins/editorui: remove dead code

 .../editorui/gbp-editorui-scheme-selector.c        | 34 ----------------------
 1 file changed, 34 deletions(-)
---
diff --git a/src/plugins/editorui/gbp-editorui-scheme-selector.c 
b/src/plugins/editorui/gbp-editorui-scheme-selector.c
index 7f968117c..112f87731 100644
--- a/src/plugins/editorui/gbp-editorui-scheme-selector.c
+++ b/src/plugins/editorui/gbp-editorui-scheme-selector.c
@@ -42,8 +42,6 @@ enum {
 
 G_DEFINE_FINAL_TYPE (GbpEditoruiSchemeSelector, gbp_editorui_scheme_selector, GTK_TYPE_WIDGET)
 
-static GParamSpec *properties [N_PROPS];
-
 typedef struct
 {
   const char           *id;
@@ -223,36 +221,6 @@ gbp_editorui_scheme_selector_dispose (GObject *object)
   G_OBJECT_CLASS (gbp_editorui_scheme_selector_parent_class)->dispose (object);
 }
 
-static void
-gbp_editorui_scheme_selector_get_property (GObject    *object,
-                                           guint       prop_id,
-                                           GValue     *value,
-                                           GParamSpec *pspec)
-{
-  GbpEditoruiSchemeSelector *self = GBP_EDITORUI_SCHEME_SELECTOR (object);
-
-  switch (prop_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-    }
-}
-
-static void
-gbp_editorui_scheme_selector_set_property (GObject      *object,
-                                           guint         prop_id,
-                                           const GValue *value,
-                                           GParamSpec   *pspec)
-{
-  GbpEditoruiSchemeSelector *self = GBP_EDITORUI_SCHEME_SELECTOR (object);
-
-  switch (prop_id)
-    {
-    default:
-      G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-    }
-}
-
 static void
 gbp_editorui_scheme_selector_class_init (GbpEditoruiSchemeSelectorClass *klass)
 {
@@ -261,8 +229,6 @@ gbp_editorui_scheme_selector_class_init (GbpEditoruiSchemeSelectorClass *klass)
 
   object_class->constructed = gbp_editorui_scheme_selector_constructed;
   object_class->dispose = gbp_editorui_scheme_selector_dispose;
-  object_class->get_property = gbp_editorui_scheme_selector_get_property;
-  object_class->set_property = gbp_editorui_scheme_selector_set_property;
 
   gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BIN_LAYOUT);
   gtk_widget_class_set_template_from_resource (widget_class, 
"/plugins/editorui/gbp-editorui-scheme-selector.ui");


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