summaryrefslogtreecommitdiff
path: root/src/gs-window-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-window-x11.c')
-rw-r--r--src/gs-window-x11.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gs-window-x11.c b/src/gs-window-x11.c
index b1b8ba6..caf673f 100644
--- a/src/gs-window-x11.c
+++ b/src/gs-window-x11.c
@@ -62,6 +62,11 @@ enum
#define GS_WINDOW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GS_TYPE_WINDOW, GSWindowPrivate))
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
+#endif
+
struct GSWindowPrivate
{
int monitor;