shell: Revert "Let panels have their own commandline flags"

This reverts commit 31a8a99440.

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
This commit is contained in:
Christophe Fergeau 2015-07-08 18:04:41 +02:00
parent 7ce6ce6807
commit c84722248e
9 changed files with 10 additions and 55 deletions

View file

@ -280,15 +280,3 @@ cc_panel_get_help_uri (CcPanel *panel)
return NULL;
}
GOptionGroup *
cc_panel_get_option_group (GType panel_type,
GVariantBuilder *builder)
{
GOptionGroup *options = NULL;
CcPanelClass *class = CC_PANEL_CLASS (g_type_class_ref (panel_type));
if (class->get_option_group != NULL)
options = class->get_option_group (builder);
g_type_class_unref (class);
return options;
}