diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-11-12 00:36:53 -0200 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-11-16 15:19:08 -0200 |
commit | 75167f45fd2b7db7071d5c6223d7ff171e9d1e99 (patch) | |
tree | 77c75272007d2137b6735e51fcbfc72d29d116bf /shell/cc-panel.h | |
parent | 3e9425aee35f68fea43f9021ac705e8264428145 (diff) | |
download | gnome-control-center-75167f45fd2b7db7071d5c6223d7ff171e9d1e99.tar.gz |
panel: Add get_sidebar_widget() vfunc
This vfunc is the entry point for panels that have
a sidebar widget. It must never return NULL.
At this point, nothing uses it and this vfunc does
not impact execution of the program.
Diffstat (limited to 'shell/cc-panel.h')
-rw-r--r-- | shell/cc-panel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/cc-panel.h b/shell/cc-panel.h index ae73d5fa4..2103451ca 100644 --- a/shell/cc-panel.h +++ b/shell/cc-panel.h @@ -82,6 +82,7 @@ struct _CcPanelClass const char * (* get_help_uri) (CcPanel *panel); GtkWidget * (* get_title_widget) (CcPanel *panel); + GtkWidget * (* get_sidebar_widget) (CcPanel *panel); }; CcShell* cc_panel_get_shell (CcPanel *panel); @@ -92,5 +93,7 @@ const char *cc_panel_get_help_uri (CcPanel *panel); GtkWidget *cc_panel_get_title_widget (CcPanel *panel); +GtkWidget* cc_panel_get_sidebar_widget (CcPanel *panel); + G_END_DECLS |