From 9f2f1ce02a857e9bc975d157a04419c021854d57 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 20 May 2013 07:13:10 +0200 Subject: [PATCH] Avoid problems with G_CONST_RETURN This is no longer used by us. But may be used by other 3rd party libraries. --- src/ui/gui/include/gtk/gtk.in.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/gui/include/gtk/gtk.in.h b/src/ui/gui/include/gtk/gtk.in.h index a7f916a625..fcf9fc9ed8 100644 --- a/src/ui/gui/include/gtk/gtk.in.h +++ b/src/ui/gui/include/gtk/gtk.in.h @@ -234,4 +234,9 @@ gtk_button_get_event_window (GtkButton *button) } #endif /* gtk < 2.22 */ + +#ifndef G_CONST_RETURN +#define G_CONST_RETURN const +#endif + #endif /* PSPP_GTK_GTK_H */ -- 2.30.2