forked from AuroraMiddleware/gtk
Don't install the handler if the widget isn't realized.
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.
This commit is contained in:
parent
600817117c
commit
418e0c4622
@ -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*:
|
||||
|
@ -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*:
|
||||
|
@ -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*:
|
||||
|
@ -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*:
|
||||
|
@ -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*:
|
||||
|
@ -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*:
|
||||
|
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user