From a9da02270af6247d51a41f707956fc96179c0b23 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 24 Mar 2011 22:24:30 +0000 Subject: LinGui: fix building on ubuntu 10.04 A couple gtk functions were deprecated at a different version than I thought. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3878 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/ghbcompat.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk/src') diff --git a/gtk/src/ghbcompat.h b/gtk/src/ghbcompat.h index 24ad6bf35..bc7fc5094 100644 --- a/gtk/src/ghbcompat.h +++ b/gtk/src/ghbcompat.h @@ -14,7 +14,9 @@ #define GDK_KEY_Return GDK_Return #define GDK_KEY_Down GDK_Down #define GDK_KEY_Up GDK_Up +#endif +#if !GTK_CHECK_VERSION(2, 20, 0) // Replace simple accessor functions added to newer gtk versions static inline void gtk_widget_set_realized(GtkWidget *widget, gboolean realized) { -- cgit v1.2.3