summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkwidget.h')
-rw-r--r--gtk/gtkwidget.h6
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);