summaryrefslogtreecommitdiff
path: root/gtk/gtkmenu.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2003-02-05 23:48:11 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-02-05 23:48:11 +0000
commitb414adc89751bdf24eb4d29c63395d7d3b767c6a (patch)
tree2bb46061805eef9dac10f2c0d36c7a583c71e430 /gtk/gtkmenu.c
parent5fbf845d5cf155e0034c8ad81ffdd70229442705 (diff)
downloadgtk+-b414adc89751bdf24eb4d29c63395d7d3b767c6a.tar.gz
Replace uses of gtk_timeout_* and gtk_idle_* by their non-deprecated
GLib counterparts. Fully deprecate gtk_timeout_* and gtk_idle_*.
Diffstat (limited to 'gtk/gtkmenu.c')
-rw-r--r--gtk/gtkmenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 9404d5ca96..b77a1c9666 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -2407,7 +2407,7 @@ gtk_menu_stop_navigating_submenu (GtkMenu *menu)
if (menu->navigation_timeout)
{
- gtk_timeout_remove (menu->navigation_timeout);
+ g_source_remove (menu->navigation_timeout);
menu->navigation_timeout = 0;
}
}
@@ -2618,8 +2618,8 @@ gtk_menu_set_submenu_navigation_region (GtkMenu *menu,
"gtk-menu-popdown-delay", &popdown_delay,
NULL);
- menu->navigation_timeout = gtk_timeout_add (popdown_delay,
- gtk_menu_stop_navigating_submenu_cb, menu);
+ menu->navigation_timeout = g_timeout_add (popdown_delay,
+ gtk_menu_stop_navigating_submenu_cb, menu);
#ifdef DRAW_STAY_UP_TRIANGLE
draw_stay_up_triangle (gdk_get_default_root_window(),