[pan2/new_master: 259/266] fsdfsd
- From: Heinrich MÃller <henmull src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan2/new_master: 259/266] fsdfsd
- Date: Mon, 2 Jan 2012 14:11:38 +0000 (UTC)
commit 1ad0ff729174e975da11f55e57aa254a88c37493
Author: Heinrich MÃller <henmull src gnome org>
Date: Mon Jan 2 01:51:09 2012 +0100
fsdfsd
pan/gui/{gtk_compat.h => gtk-compat.h} | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/pan/gui/gtk_compat.h b/pan/gui/gtk-compat.h
similarity index 93%
rename from pan/gui/gtk_compat.h
rename to pan/gui/gtk-compat.h
index ff58503..6e2f608 100644
--- a/pan/gui/gtk_compat.h
+++ b/pan/gui/gtk-compat.h
@@ -6,7 +6,7 @@
* Last Update: Mon 09 May 2011 04:42:46 PM MDT
*/
/*------------------------------------------------------------------------
- * Description: ÂdescriptionÂ
+ * Description: GTK Compatibility layer for GTK2/3+ migration
*
*========================================================================
*/
@@ -14,6 +14,9 @@
#ifndef PAN_GTK_COMPAT_H
#define PAN_GTK_COMPAT_H
+#include <gtk/gtk.h>
+#include <gdk/gdk.h>
+
#ifdef __cplusplus
namespace
{
@@ -103,6 +106,10 @@ namespace
}
#endif
#if GTK_CHECK_VERSION(3,0,0)
+
+// include this for conversion of old key names to new
+#include <gdk/gdkkeysyms.h>
+
#define GTK_OBJECT(w) w
typedef GtkWidget GtkObject;
#ifdef GTK_DISABLE_DEPRECATED
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]