[gtk/bin-removal: 5/15] scrolled window get_child use fixup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/bin-removal: 5/15] scrolled window get_child use fixup
- Date: Sat, 2 May 2020 23:01:07 +0000 (UTC)
commit 839301a296dcbeb3694eb45ee756c8864af22f9f
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 2 10:12:50 2020 -0400
scrolled window get_child use fixup
demos/gtk-demo/iconscroll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/demos/gtk-demo/iconscroll.c b/demos/gtk-demo/iconscroll.c
index d0b4c93ebc..2254aa0bef 100644
--- a/demos/gtk-demo/iconscroll.c
+++ b/demos/gtk-demo/iconscroll.c
@@ -137,7 +137,7 @@ set_widget_type (int type)
if (tick_cb)
gtk_widget_remove_tick_callback (window, tick_cb);
- if (gtk_bin_get_child (GTK_BIN (scrolledwindow)))
+ if (gtk_scrolled_window_get_child (GTK_SCROLLED_WINDOW (scrolledwindow)))
gtk_scrolled_window_set_child (GTK_SCROLLED_WINDOW (scrolledwindow), NULL);
selected = type;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]