summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.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/gtkselection.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/gtkselection.c')
-rw-r--r--gtk/gtkselection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index 738b79f537..fbd5c30cd5 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -744,7 +744,7 @@ gtk_selection_convert (GtkWidget *widget,
current_retrievals = g_list_append (current_retrievals, info);
gdk_selection_convert (widget->window, selection, target, time);
- gtk_timeout_add (1000, (GtkFunction) gtk_selection_retrieval_timeout, info);
+ g_timeout_add (1000, (GtkFunction) gtk_selection_retrieval_timeout, info);
return TRUE;
}
@@ -1249,7 +1249,7 @@ _gtk_selection_request (GtkWidget *widget,
gdk_window_get_events (info->requestor) |
GDK_PROPERTY_CHANGE_MASK);
current_incrs = g_list_append (current_incrs, info);
- gtk_timeout_add (1000, (GtkFunction)gtk_selection_incr_timeout, info);
+ g_timeout_add (1000, (GtkFunction)gtk_selection_incr_timeout, info);
}
/* If it was a MULTIPLE request, set the property to indicate which