diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-08-11 18:35:48 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-08-11 18:35:48 +0000 |
commit | 4041a889cd7f8219568ffbf49a611029786680eb (patch) | |
tree | 603ed427853248e71c46ea7b531ea5d8a4150516 /gtk/gtkwidget.h | |
parent | 15d3368180605d593b69e733e13265c34f905389 (diff) | |
download | gtk+-4041a889cd7f8219568ffbf49a611029786680eb.tar.gz |
Add some compat macros for push/pop/set_visual that were supposed to be
Sat Aug 11 14:32:14 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.h (gtk_widget_set_default_visual): Add some
compat macros for push/pop/set_visual that were supposed
to be added a long time ago, but got dropped.
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r-- | gtk/gtkwidget.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkwidget.h b/gtk/gtkwidget.h index a6a7044e6a..bb4a6af33f 100644 --- a/gtk/gtkwidget.h +++ b/gtk/gtkwidget.h @@ -597,6 +597,12 @@ GdkVisual* gtk_widget_get_visual (GtkWidget *widget); GtkSettings* gtk_widget_get_settings (GtkWidget *widget); +#ifndef GTK_DISABLE_DEPRECATED +#define gtk_widget_set_visual(widget,visual) ((void) 0) +#define gtk_widget_push_visual(visual) ((void) 0) +#define gtk_widget_pop_visual() ((void) 0) +#define gtk_widget_set_default_visual(visual) ((void) 0) +#endif /* GTK_DISABLE_DEPRECATED */ /* Accessibility support */ AtkObject* gtk_widget_get_accessible (GtkWidget *widget); |