about summary refs log tree commit diff stats
path: root/xombrero.c
diff options
context:
space:
mode:
Diffstat (limited to 'xombrero.c')
-rw-r--r--xombrero.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xombrero.c b/xombrero.c
index a06ce8a..1ca2ccd 100644
--- a/xombrero.c
+++ b/xombrero.c
@@ -5837,6 +5837,7 @@ done:
  * without relying on calling internal GTK functions (which we
  * couldn't link to in Linux).
  */
+#if GTK_CHECK_VERSION(3, 0, 0)
 void
 fake_focus_in(GtkWidget *w)
 {
@@ -5849,6 +5850,7 @@ fake_focus_in(GtkWidget *w)
 	}
 	gtk_widget_send_focus_change(main_window, fevent);
 }
+#endif
 
 gboolean
 handle_keypress(struct tab *t, GdkEventKey *e, int entry)