diff options
author | jstebbins <[email protected]> | 2011-03-24 22:24:30 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-03-24 22:24:30 +0000 |
commit | a9da02270af6247d51a41f707956fc96179c0b23 (patch) | |
tree | ca1a66901cf44e071b81d294af591f2ffe980ac2 /gtk/src | |
parent | 42d3b4ab3f9e1efe98ad96eafcb8b39a75732924 (diff) |
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
Diffstat (limited to 'gtk/src')
-rw-r--r-- | gtk/src/ghbcompat.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |