diff options
-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 = |