summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-10-22 14:31:06 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-10-22 14:31:06 +0000
commit0c6a8f530b51ae814229e1a3314a621b917e21ac (patch)
tree56e9d82da3010ca32045f289436360673df4fec3 /gtk/gtkmain.h
parent8937ca262676ea7f66b2784a999ecd35d4447a9b (diff)
downloadgtk+-0c6a8f530b51ae814229e1a3314a621b917e21ac.tar.gz
Deprecate gtk_entry_set_editable. (#58768, Vitaly Tishkov)GTK_MULTIHEAD_MERGEPOINT_22_10_01
Sat Oct 20 18:58:25 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.h: Deprecate gtk_entry_set_editable. (#58768, Vitaly Tishkov) * gtk/gtkobject.h: Deprecate with abandon. (#61942, Vitaly Tishkov, Matthias Clasen) * gtk/gtksignal.h: Deprecate everything. * gtk/gtkmain.h (GTK_PRIORITY_INTERNAL): Deprecate all GTK_PRIORITY_* defines other than GKT_PRIORITY_RESIZE> (#61942, Matthias Clasen) * gtk/gtkstyle.h: Deprecate gtk_draw_*. (#61140, Havoc Pennington) * gtk/gtkitemfactory.h: Deprecate compat functions for GtkMenuFactory code. (#62071) * gdk/gdkdrawable.h: Deprecate gdk_draw_string, gdk_draw_text,gdk_draw_text_wc. (#62071) * gtk/{gtkentry.c,gtklabel.c,gtkoldeditable.c,gtktextview.c}: Use GDK_SELECTION_CLIPBOARD instead of GDK_NONE in calls to gtk_clipboard_get().
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r--gtk/gtkmain.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index a798bd71c3..93a6d4c95f 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -38,9 +38,13 @@ extern "C" {
/* Priorities for redrawing and resizing
*/
-#define GTK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20)
#define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10)
+#ifndef GTK_DISABLE_DEPRECATED
+
+/* Use GDK_PRIORITY_REDRAW */
+#define GTK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20)
+
/* Deprecated. Use G_PRIORITY #define's instead
*/
#define GTK_PRIORITY_HIGH G_PRIORITY_HIGH
@@ -48,6 +52,8 @@ extern "C" {
#define GTK_PRIORITY_DEFAULT G_PRIORITY_DEFAULT_IDLE
#define GTK_PRIORITY_LOW G_PRIORITY_LOW
+#endif /* GTK_DISABLE_DEPRECATED */
+
typedef void (*GtkModuleInitFunc) (gint *argc,
gchar ***argv);
typedef gint (*GtkKeySnoopFunc) (GtkWidget *grab_widget,