]> git.pld-linux.org Git - packages/gtkpod.git/blame - anjuta-3.5.3.patch
- release 2 (by relup.sh)
[packages/gtkpod.git] / anjuta-3.5.3.patch
CommitLineData
2ba399c4
ŁK
1--- a/src/anjuta-app.c
2+++ b/src/anjuta-app.c
3@@ -38,6 +38,7 @@
4 #include <libanjuta/resources.h>
5 #include <libanjuta/anjuta-plugin-manager.h>
6 #include <libanjuta/anjuta-debug.h>
7+#include <libanjuta/anjuta-version.h>
8
9 #include "anjuta-app.h"
10 #include "anjuta-actions.h"
11@@ -501,7 +502,11 @@ static void anjuta_app_instance_init(AnjutaApp *app) {
12 g_list_free(plugins_dirs);
13
14 /* Preferences */
15+#if ANJUTA_CHECK_VERSION(3,5,3)
16+ app->preferences = anjuta_preferences_new(app->plugin_manager, PREF_SCHEMA);
17+#else
18 app->preferences = anjuta_preferences_new(app->plugin_manager);
19+#endif
20 g_object_add_weak_pointer(G_OBJECT (app->preferences), (gpointer) &app->preferences);
21
22 g_signal_connect(app->settings, "changed::" GDL_STYLE, G_CALLBACK(on_gdl_style_changed), app);
This page took 0.056761 seconds and 4 git commands to generate.