[packages/gtkpod] - fix build with libanjuta >= 3.5.3
kiesiu
kiesiu at pld-linux.org
Mon Oct 22 21:05:14 CEST 2012
commit 2ba399c4afb529ca2cb95bbd95fd0a09034ea830
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date: Mon Oct 22 20:37:52 2012 +0200
- fix build with libanjuta >= 3.5.3
anjuta-3.5.3.patch | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
---
diff --git a/anjuta-3.5.3.patch b/anjuta-3.5.3.patch
new file mode 100644
index 0000000..988b246
--- /dev/null
+++ b/anjuta-3.5.3.patch
@@ -0,0 +1,22 @@
+--- a/src/anjuta-app.c
++++ b/src/anjuta-app.c
+@@ -38,6 +38,7 @@
+ #include <libanjuta/resources.h>
+ #include <libanjuta/anjuta-plugin-manager.h>
+ #include <libanjuta/anjuta-debug.h>
++#include <libanjuta/anjuta-version.h>
+
+ #include "anjuta-app.h"
+ #include "anjuta-actions.h"
+@@ -501,7 +502,11 @@ static void anjuta_app_instance_init(AnjutaApp *app) {
+ g_list_free(plugins_dirs);
+
+ /* Preferences */
++#if ANJUTA_CHECK_VERSION(3,5,3)
++ app->preferences = anjuta_preferences_new(app->plugin_manager, PREF_SCHEMA);
++#else
+ app->preferences = anjuta_preferences_new(app->plugin_manager);
++#endif
+ g_object_add_weak_pointer(G_OBJECT (app->preferences), (gpointer) &app->preferences);
+
+ g_signal_connect(app->settings, "changed::" GDL_STYLE, G_CALLBACK(on_gdl_style_changed), app);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtkpod.git/commitdiff/6a6ed57a3ce8641b1a32870efe24cd7c27fe71fe
More information about the pld-cvs-commit
mailing list