about summary refs log tree commit diff stats
path: root/xombrero.c
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@devio.us>2012-08-24 10:05:55 -0400
committerJosh Rickmar <jrick@devio.us>2012-08-24 10:05:55 -0400
commitebac4bd1f6bdd023f1a40e4834c41d5466dd5428 (patch)
treee5aa7c5a7bae2eadc483060381ede327143ffabb /xombrero.c
parentc2e4008b79a54b8b202af4239c29551b851c0b12 (diff)
downloadxombrero-ebac4bd1f6bdd023f1a40e4834c41d5466dd5428.tar.gz
Fix the build when using some older glib and gtk versions
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)