summaryrefslogtreecommitdiff
path: root/shell/cc-panel-loader.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-07-08 18:04:41 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-07-16 11:49:34 +0200
commitc84722248e41946fd995cff3ce773f9b80b2f4d7 (patch)
treedca61963907f34aa274c76f186b33dc8c4cbb2bc /shell/cc-panel-loader.c
parent7ce6ce68073488601053099b25b1fc29e86d7380 (diff)
downloadgnome-control-center-c84722248e41946fd995cff3ce773f9b80b2f4d7.tar.gz
shell: Revert "Let panels have their own commandline flags"
This reverts commit 31a8a99440cce715b2e32ca71a6cbf650eab012a. This was meant for bgo#695885 which has stalled for a while, so this feature has no in-tree user. This commit removes it for now, this can be readded when users for it materialize. https://bugzilla.gnome.org/show_bug.cgi?id=751597
Diffstat (limited to 'shell/cc-panel-loader.c')
-rw-r--r--shell/cc-panel-loader.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/shell/cc-panel-loader.c b/shell/cc-panel-loader.c
index 26576dc10..de9c5df0e 100644
--- a/shell/cc-panel-loader.c
+++ b/shell/cc-panel-loader.c
@@ -216,21 +216,4 @@ cc_panel_loader_load_by_name (CcShell *shell,
NULL);
}
-void
-cc_panel_loader_add_option_groups (GOptionContext *context,
- GVariantBuilder *builder)
-{
- int i;
-
- for (i = 0; i < G_N_ELEMENTS (all_panels); i++)
- {
- GType (*get_type) (void);
- get_type = all_panels[i].get_type;
- GOptionGroup *group = cc_panel_get_option_group (get_type(), builder);
- if (group == NULL)
- continue;
- g_option_context_add_group (context, group);
- }
-}
-
#endif /* CC_PANEL_LOADER_NO_GTYPES */