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:
@ -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>
|
2002-03-28 Jakub Steiner <jimmac@ximian.com>
|
||||||
|
|
||||||
* gtk/stock-icons/stock_font*:
|
* 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>
|
2002-03-28 Jakub Steiner <jimmac@ximian.com>
|
||||||
|
|
||||||
* gtk/stock-icons/stock_font*:
|
* 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>
|
2002-03-28 Jakub Steiner <jimmac@ximian.com>
|
||||||
|
|
||||||
* gtk/stock-icons/stock_font*:
|
* 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>
|
2002-03-28 Jakub Steiner <jimmac@ximian.com>
|
||||||
|
|
||||||
* gtk/stock-icons/stock_font*:
|
* 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>
|
2002-03-28 Jakub Steiner <jimmac@ximian.com>
|
||||||
|
|
||||||
* gtk/stock-icons/stock_font*:
|
* 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>
|
2002-03-28 Jakub Steiner <jimmac@ximian.com>
|
||||||
|
|
||||||
* gtk/stock-icons/stock_font*:
|
* gtk/stock-icons/stock_font*:
|
||||||
|
@ -4114,6 +4114,9 @@ scroll_sync_handler (GtkTreeView *tree_view)
|
|||||||
static void
|
static void
|
||||||
install_scroll_sync_handler (GtkTreeView *tree_view)
|
install_scroll_sync_handler (GtkTreeView *tree_view)
|
||||||
{
|
{
|
||||||
|
if (! GTK_WIDGET_REALIZED (tree_view))
|
||||||
|
return;
|
||||||
|
|
||||||
if (!tree_view->priv->scroll_sync_timer)
|
if (!tree_view->priv->scroll_sync_timer)
|
||||||
{
|
{
|
||||||
tree_view->priv->scroll_sync_timer =
|
tree_view->priv->scroll_sync_timer =
|
||||||
|
Reference in New Issue
Block a user