blob: b80016cf0238fd145596877334f6940134c2622e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -r b870df1b662c ui.c
--- a/ui.c Thu Jan 30 15:13:12 2014 +0200
+++ b/ui.c Thu Jul 10 09:00:29 2014 +0200
@@ -19,6 +19,10 @@
#include "ui.h"
+#if !GTK_CHECK_VERSION(2,18,0)
+#define gtk_widget_set_can_focus(widget, canfocus) {if (canfocus) GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS); else GTK_WIDGET_UNSET_FLAGS(widget, GTK_CAN_FOCUS);}
+#endif
+
static GtkWidget *infobar_tabs;
static GtkWidget *infobar_toggles;
|