summaryrefslogtreecommitdiff
path: root/gtk/gtkdnd.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/gtkdnd.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/gtkdnd.c')
-rw-r--r--gtk/gtkdnd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 35281f065e..c08bb95817 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -2749,7 +2749,7 @@ gtk_drag_drop_finished (GtkDragSourceInfo *info,
* to respond really late, we still are OK.
*/
gtk_drag_clear_source_info (info->context);
- gtk_timeout_add (ANIM_STEP_TIME, gtk_drag_anim_timeout, anim);
+ g_timeout_add (ANIM_STEP_TIME, gtk_drag_anim_timeout, anim);
}
}
}
@@ -2823,9 +2823,9 @@ gtk_drag_drop (GtkDragSourceInfo *info,
gtk_widget_hide (info->icon_window);
gdk_drag_drop (info->context, time);
- info->drop_timeout = gtk_timeout_add (DROP_ABORT_TIME,
- gtk_drag_abort_timeout,
- info);
+ info->drop_timeout = g_timeout_add (DROP_ABORT_TIME,
+ gtk_drag_abort_timeout,
+ info);
}
}
@@ -3101,7 +3101,7 @@ gtk_drag_source_info_destroy (GtkDragSourceInfo *info)
g_object_unref (info->context);
if (info->drop_timeout)
- gtk_timeout_remove (info->drop_timeout);
+ g_source_remove (info->drop_timeout);
g_free (info);
}