summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.h
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/gtkmain.h
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/gtkmain.h')
-rw-r--r--gtk/gtkmain.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index c7afed29e5..45527b7203 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -158,7 +158,7 @@ guint gtk_quit_add_full (guint main_level,
GtkDestroyNotify destroy);
void gtk_quit_remove (guint quit_handler_id);
void gtk_quit_remove_by_data (gpointer data);
-#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION)
+#ifndef GTK_DISABLE_DEPRECATED
guint gtk_timeout_add (guint32 interval,
GtkFunction function,
gpointer data);
@@ -188,7 +188,7 @@ guint gtk_input_add_full (gint source,
gpointer data,
GtkDestroyNotify destroy);
void gtk_input_remove (guint input_handler_id);
-#endif /* !GTK_DISABLE_DEPRECATED || GTK_COMPILATION */
+#endif /* GTK_DISABLE_DEPRECATED */
guint gtk_key_snooper_install (GtkKeySnoopFunc snooper,
gpointer func_data);