[gnome-panel/features/modernize-for-gnome-3-12: 2/11] panel: remove unused variables from panel-layout.c



commit 0f923bf812787e07a2575a2b8e1b6ed18b5e90fd
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Nov 17 17:58:26 2013 +0200

    panel: remove unused variables from panel-layout.c

 gnome-panel/panel-layout.c  |    3 ---
 gnome-panel/panel-schemas.h |    2 --
 2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gnome-panel/panel-layout.c b/gnome-panel/panel-layout.c
index 0519dfe..633f520 100644
--- a/gnome-panel/panel-layout.c
+++ b/gnome-panel/panel-layout.c
@@ -348,7 +348,6 @@ panel_layout_append_group_helper (GKeyFile                  *keyfile,
                                   const char                *id_list_key,
                                   const char                *schema,
                                   const char                *path_prefix,
-                                  const char                *default_prefix,
                                   PanelLayoutKeyDefinition  *key_definitions,
                                   int                        key_definitions_len,
                                   gboolean                   dry_run,
@@ -538,7 +537,6 @@ panel_layout_append_group (GKeyFile    *keyfile,
                                         PANEL_LAYOUT_TOPLEVEL_ID_LIST_KEY,
                                         PANEL_TOPLEVEL_SCHEMA,
                                         PANEL_LAYOUT_TOPLEVEL_PATH,
-                                        PANEL_LAYOUT_TOPLEVEL_DEFAULT_PREFIX,
                                         panel_layout_toplevel_keys,
                                         G_N_ELEMENTS (panel_layout_toplevel_keys),
                                         dry_run, error, "toplevel");
@@ -551,7 +549,6 @@ panel_layout_append_group (GKeyFile    *keyfile,
                                         PANEL_LAYOUT_OBJECT_ID_LIST_KEY,
                                         PANEL_OBJECT_SCHEMA,
                                         PANEL_LAYOUT_OBJECT_PATH,
-                                        PANEL_LAYOUT_OBJECT_DEFAULT_PREFIX,
                                         panel_layout_object_keys,
                                         G_N_ELEMENTS (panel_layout_object_keys),
                                         dry_run, error, "object");
diff --git a/gnome-panel/panel-schemas.h b/gnome-panel/panel-schemas.h
index a2543ac..4f61479 100644
--- a/gnome-panel/panel-schemas.h
+++ b/gnome-panel/panel-schemas.h
@@ -29,9 +29,7 @@
 #define PANEL_LAYOUT_OBJECT_ID_LIST_KEY   "object-id-list"
 
 #define PANEL_LAYOUT_TOPLEVEL_PATH           "/org/gnome/gnome-panel/layout/toplevels/"
-#define PANEL_LAYOUT_TOPLEVEL_DEFAULT_PREFIX "toplevel"
 #define PANEL_LAYOUT_OBJECT_PATH             "/org/gnome/gnome-panel/layout/objects/"
-#define PANEL_LAYOUT_OBJECT_DEFAULT_PREFIX   "object"
 #define PANEL_LAYOUT_OBJECT_CONFIG_SUFFIX    "instance-config/"
 
 #define PANEL_TOPLEVEL_SCHEMA               "org.gnome.gnome-panel.toplevel"


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