Replace gtk_timeout_* by their GLib counterparts. (#106532)

2003-02-19  Matthias Clasen  <maclas@gmx.de>

	* tests/testdnd.c: Replace gtk_timeout_* by their GLib
	counterparts. (#106532)
This commit is contained in:
Matthias Clasen 2003-02-19 19:42:04 +00:00 committed by Matthias Clasen
parent c69d7c02d0
commit 16ae019e45
6 changed files with 20 additions and 5 deletions

View File

@ -1,5 +1,8 @@
2003-02-19 Matthias Clasen <maclas@gmx.de>
* tests/testdnd.c: Replace gtk_timeout_* by their GLib
counterparts. (#106532)
* gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
keys_changed virtual function with the keys_changed signal.
(#106512, Jeff Franks)

View File

@ -1,5 +1,8 @@
2003-02-19 Matthias Clasen <maclas@gmx.de>
* tests/testdnd.c: Replace gtk_timeout_* by their GLib
counterparts. (#106532)
* gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
keys_changed virtual function with the keys_changed signal.
(#106512, Jeff Franks)

View File

@ -1,5 +1,8 @@
2003-02-19 Matthias Clasen <maclas@gmx.de>
* tests/testdnd.c: Replace gtk_timeout_* by their GLib
counterparts. (#106532)
* gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
keys_changed virtual function with the keys_changed signal.
(#106512, Jeff Franks)

View File

@ -1,5 +1,8 @@
2003-02-19 Matthias Clasen <maclas@gmx.de>
* tests/testdnd.c: Replace gtk_timeout_* by their GLib
counterparts. (#106532)
* gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
keys_changed virtual function with the keys_changed signal.
(#106512, Jeff Franks)

View File

@ -1,5 +1,8 @@
2003-02-19 Matthias Clasen <maclas@gmx.de>
* tests/testdnd.c: Replace gtk_timeout_* by their GLib
counterparts. (#106532)
* gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
keys_changed virtual function with the keys_changed signal.
(#106512, Jeff Franks)

View File

@ -446,7 +446,7 @@ popup_motion (GtkWidget *widget,
if (popdown_timer)
{
g_print ("removed popdown\n");
gtk_timeout_remove (popdown_timer);
g_source_remove (popdown_timer);
popdown_timer = 0;
}
}
@ -465,7 +465,7 @@ popup_leave (GtkWidget *widget,
if (!popdown_timer)
{
g_print ("added popdown\n");
popdown_timer = gtk_timeout_add (500, popdown_cb, NULL);
popdown_timer = g_timeout_add (500, popdown_cb, NULL);
}
}
}
@ -514,7 +514,7 @@ popup_cb (gpointer data)
popped_up = TRUE;
}
popdown_timer = gtk_timeout_add (500, popdown_cb, NULL);
popdown_timer = g_timeout_add (500, popdown_cb, NULL);
g_print ("added popdown\n");
popup_timer = FALSE;
@ -530,7 +530,7 @@ popsite_motion (GtkWidget *widget,
guint time)
{
if (!popup_timer)
popup_timer = gtk_timeout_add (500, popup_cb, NULL);
popup_timer = g_timeout_add (500, popup_cb, NULL);
return TRUE;
}
@ -542,7 +542,7 @@ popsite_leave (GtkWidget *widget,
{
if (popup_timer)
{
gtk_timeout_remove (popup_timer);
g_source_remove (popup_timer);
popup_timer = 0;
}
}