diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-05-03 00:09:18 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-04 22:53:08 -0400 |
commit | 12ecbd15080f1dc3b301ee3df10d50d4899ae007 (patch) | |
tree | 09e597dadf9308d874e53b3119deeba0b71f896e /demos/icon-browser | |
parent | b8d1a9eb0df7d5152d5d2519a5b3c487a5db5086 (diff) | |
download | gtk+-12ecbd15080f1dc3b301ee3df10d50d4899ae007.tar.gz |
listboxrow: Derive from GtkWidget
We want to remove GtkBin and GtkContainer as they don't
provide much useful functionality anymore.
See #2681
Diffstat (limited to 'demos/icon-browser')
-rw-r--r-- | demos/icon-browser/iconbrowserwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/icon-browser/iconbrowserwin.c b/demos/icon-browser/iconbrowserwin.c index 858e246c5e..b525034362 100644 --- a/demos/icon-browser/iconbrowserwin.c +++ b/demos/icon-browser/iconbrowserwin.c @@ -228,7 +228,7 @@ selected_context_changed (GtkListBox *list, IconBrowserWindow *win) gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (win->search), FALSE); - label = gtk_bin_get_child (GTK_BIN (row)); + label = gtk_list_box_row_get_child (GTK_LIST_BOX_ROW (row)); win->current_context = g_object_get_data (G_OBJECT (label), "context"); gtk_tree_model_filter_refilter (win->filter_model); } |