[gedit] Update gseal compat header for building with gtk+ 2.20
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Update gseal compat header for building with gtk+ 2.20
- Date: Tue, 1 Jun 2010 22:06:18 +0000 (UTC)
commit bf387d8fff94851c534c56f901560996e6d4b00e
Author: Jesse van den Kieboom <jessevdk gnome org>
Date: Wed Jun 2 00:06:03 2010 +0200
Update gseal compat header for building with gtk+ 2.20
gedit/gedit-plugins-engine.c | 1 +
gedit/gedit-view.c | 2 +-
gedit/gseal-gtk-compat.h | 1 +
3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-plugins-engine.c b/gedit/gedit-plugins-engine.c
index 5704662..aa8e4c2 100644
--- a/gedit/gedit-plugins-engine.c
+++ b/gedit/gedit-plugins-engine.c
@@ -46,6 +46,7 @@
#include "gedit-dirs.h"
#include "gedit-settings.h"
#include "gedit-utils.h"
+#include "gseal-gtk-compat.h"
#define GEDIT_PLUGINS_ENGINE_BASE_KEY "/apps/gedit-2/plugins"
#define GEDIT_PLUGINS_ENGINE_KEY GEDIT_PLUGINS_ENGINE_BASE_KEY "/active-plugins"
diff --git a/gedit/gedit-view.c b/gedit/gedit-view.c
index 8c78c72..8863f3c 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -48,7 +48,7 @@
#include "gseal-gtk-compat.h"
#include "gedit-settings.h"
#include "gedit-app.h"
-
+#include "gseal-gtk-compat.h"
#define GEDIT_VIEW_SCROLL_MARGIN 0.02
#define GEDIT_VIEW_SEARCH_DIALOG_TIMEOUT (30*1000) /* 30 seconds */
diff --git a/gedit/gseal-gtk-compat.h b/gedit/gseal-gtk-compat.h
index 9390c84..cb8460e 100644
--- a/gedit/gseal-gtk-compat.h
+++ b/gedit/gseal-gtk-compat.h
@@ -33,6 +33,7 @@ G_BEGIN_DECLS
gtk_im_context_reset (view->im_context); \
} \
} G_STMT_END
+#define gdk_drag_context_get_suggested_action(context) ((context)->suggested_action)
#endif /* GTK < 2.22.0 */
#if !GTK_CHECK_VERSION (2, 20, 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]