diff options
author | Dave Camp <dave@ximian.com> | 2002-03-28 17:05:34 +0000 |
---|---|---|
committer | Dave Camp <campd@src.gnome.org> | 2002-03-28 17:05:34 +0000 |
commit | 418e0c46224caf8ea41ffd01dd2129cc9f34b3c7 (patch) | |
tree | d2d0369e5af542af5e7c5e87bf189a39913a614a | |
parent | 600817117c194c972d8f07fbc2d6b582d230ec0d (diff) | |
download | gdk-pixbuf-418e0c46224caf8ea41ffd01dd2129cc9f34b3c7.tar.gz |
Don't install the handler if the widget isn't realized.GTK_MULTIHEAD_MERGEPOINT_28_03_02
2002-03-28 Dave Camp <dave@ximian.com>
* gtk/gtktreeview.c (install_scroll_sync_handler): Don't install
the handler if the widget isn't realized.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | gtk/gtktreeview.c | 3 |
7 files changed, 33 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2002-03-28 Dave Camp <dave@ximian.com> + + * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install + the handler if the widget isn't realized. + 2002-03-28 Jakub Steiner <jimmac@ximian.com> * gtk/stock-icons/stock_font*: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 84479e742..e9e0c9dba 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-03-28 Dave Camp <dave@ximian.com> + + * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install + the handler if the widget isn't realized. + 2002-03-28 Jakub Steiner <jimmac@ximian.com> * gtk/stock-icons/stock_font*: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 84479e742..e9e0c9dba 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-03-28 Dave Camp <dave@ximian.com> + + * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install + the handler if the widget isn't realized. + 2002-03-28 Jakub Steiner <jimmac@ximian.com> * gtk/stock-icons/stock_font*: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 84479e742..e9e0c9dba 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-03-28 Dave Camp <dave@ximian.com> + + * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install + the handler if the widget isn't realized. + 2002-03-28 Jakub Steiner <jimmac@ximian.com> * gtk/stock-icons/stock_font*: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 84479e742..e9e0c9dba 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-03-28 Dave Camp <dave@ximian.com> + + * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install + the handler if the widget isn't realized. + 2002-03-28 Jakub Steiner <jimmac@ximian.com> * gtk/stock-icons/stock_font*: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 84479e742..e9e0c9dba 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-03-28 Dave Camp <dave@ximian.com> + + * gtk/gtktreeview.c (install_scroll_sync_handler): Don't install + the handler if the widget isn't realized. + 2002-03-28 Jakub Steiner <jimmac@ximian.com> * gtk/stock-icons/stock_font*: diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index 0fd6e819d..fdd920dcc 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -4114,6 +4114,9 @@ scroll_sync_handler (GtkTreeView *tree_view) static void install_scroll_sync_handler (GtkTreeView *tree_view) { + if (! GTK_WIDGET_REALIZED (tree_view)) + return; + if (!tree_view->priv->scroll_sync_timer) { tree_view->priv->scroll_sync_timer = |