panel-loader: Simplify listing panels
Instead of enumerating them, putting that in a GList, then iterating the GList printing the panel names, simply print them while enumerating.
This commit is contained in:
parent
31a5d55896
commit
867a35dc89
3 changed files with 9 additions and 16 deletions
|
@ -40,7 +40,7 @@ typedef struct
|
|||
} CcPanelLoaderVtable;
|
||||
|
||||
void cc_panel_loader_fill_model (CcShellModel *model);
|
||||
GList *cc_panel_loader_get_panels (void);
|
||||
void cc_panel_loader_list_panels (void);
|
||||
CcPanel *cc_panel_loader_load_by_name (CcShell *shell,
|
||||
const char *name,
|
||||
GVariant *parameters);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue