diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-11-16 14:17:57 -0200 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2018-11-16 15:19:09 -0200 |
commit | de15083e7a45b77b5d328c3df1cb78c7b31c8400 (patch) | |
tree | 73440c774d46dd4d7bdb51232a461684d708e610 | |
parent | b02bc2a935fa649f7153c9eec32e7239fba0c38e (diff) | |
download | gnome-control-center-de15083e7a45b77b5d328c3df1cb78c7b31c8400.tar.gz |
panel-list: Rename internal function
It was referring to listbox, where in the future
it is going to refer to any kind of widget.
-rw-r--r-- | shell/cc-panel-list.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shell/cc-panel-list.c b/shell/cc-panel-list.c index dd205c88b..7796dae32 100644 --- a/shell/cc-panel-list.c +++ b/shell/cc-panel-list.c @@ -90,8 +90,8 @@ static gint signals [LAST_SIGNAL] = { 0, }; * Auxiliary methods */ static GtkWidget* -get_listbox_from_view (CcPanelList *self, - CcPanelListView view) +get_widget_from_view (CcPanelList *self, + CcPanelListView view) { switch (view) { @@ -195,7 +195,7 @@ switch_to_view (CcPanelList *self, should_crossfade ? GTK_STACK_TRANSITION_TYPE_CROSSFADE : GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT); - visible_child = get_listbox_from_view (self, view); + visible_child = get_widget_from_view (self, view); gtk_stack_set_visible_child (GTK_STACK (self), visible_child); @@ -865,7 +865,7 @@ cc_panel_list_activate (CcPanelList *self) g_return_val_if_fail (CC_IS_PANEL_LIST (self), FALSE); - listbox = get_listbox_from_view (self, self->view); + listbox = get_widget_from_view (self, self->view); /* Select the first visible row */ do |