From ebac4bd1f6bdd023f1a40e4834c41d5466dd5428 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 24 Aug 2012 10:05:55 -0400 Subject: Fix the build when using some older glib and gtk versions --- xombrero.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xombrero.c') 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) -- cgit 1.4.1-2-gfad0