[gtk+] scrolledwindow: fix spurious warnings from previous scrollbar commits
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] scrolledwindow: fix spurious warnings from previous scrollbar commits
- Date: Fri, 26 Dec 2014 22:20:06 +0000 (UTC)
commit 4d4883f010cf2d30889a004811106bd65b9b0dea
Author: Christian Hergert <christian hergert me>
Date: Fri Dec 26 14:19:55 2014 -0800
scrolledwindow: fix spurious warnings from previous scrollbar commits
gtk/gtkscrolledwindow.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 7c67704..d8c04a9 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -4017,6 +4017,9 @@ gtk_scrolled_window_realize (GtkWidget *widget)
priv->hindicator.window = create_indicator_window (scrolled_window, priv->hscrollbar);
priv->vindicator.window = create_indicator_window (scrolled_window, priv->vscrollbar);
+ priv->hindicator.scrollbar = priv->hscrollbar;
+ priv->vindicator.scrollbar = priv->vscrollbar;
+
gtk_scrolled_window_update_touch_mode (scrolled_window);
dm = gdk_display_get_device_manager (gtk_widget_get_display (widget));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]