diff options
author | Jörg Mayer <jmayer@loplof.de> | 2011-06-20 00:48:05 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2011-06-20 00:48:05 +0000 |
commit | b8e727ac8d7d5f77c9244786056eb8da185e0022 (patch) | |
tree | 7eb2359747852b5220cfbca5a2035f4f07ed9cfa /gtk/profile_dlg.c | |
parent | de4354d05d9d2d48c13591d14d368e5a2392817d (diff) |
GTK3 fixes:
- Replace 2 cases where GtkObject was used (no longer exists in GTK3)
- Whenever gdkkeysyms.h is included also include gdkkeysyms-compat.h
iff we are building against gtk3
svn path=/trunk/; revision=37722
Diffstat (limited to 'gtk/profile_dlg.c')
-rw-r--r-- | gtk/profile_dlg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/profile_dlg.c b/gtk/profile_dlg.c index 8a6b24d59e..e496ad61c5 100644 --- a/gtk/profile_dlg.c +++ b/gtk/profile_dlg.c @@ -31,6 +31,9 @@ #include <gtk/gtk.h> #include <gdk/gdkkeysyms.h> +#if GTK_CHECK_VERSION(3,0,0) +# include <gdk/gdkkeysyms-compat.h> +#endif #include <epan/filesystem.h> #include <epan/prefs.h> |