Avoid problems with G_CONST_RETURN
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 20 May 2013 05:13:10 +0000 (07:13 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 28 May 2013 14:03:21 +0000 (16:03 +0200)
This is no longer used by us.  But may be used by other 3rd party libraries.

src/ui/gui/include/gtk/gtk.in.h

index a7f916a62539a66f0cf43a31d2e414a51924bbe1..fcf9fc9ed84fed19c29718b8aca9026acfcf9018 100644 (file)
@@ -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 */