[anjuta/gsettings-migration] build-basic-autotools: Fixed GSettings problem
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/gsettings-migration] build-basic-autotools: Fixed GSettings problem
- Date: Tue, 19 Oct 2010 13:51:38 +0000 (UTC)
commit 8bf2d1dece4969dfbaca71b50f23f157258d764c
Author: Johannes Schmid <jhs gnome org>
Date: Tue Oct 19 15:04:59 2010 +0200
build-basic-autotools: Fixed GSettings problem
plugins/build-basic-autotools/plugin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/build-basic-autotools/plugin.c b/plugins/build-basic-autotools/plugin.c
index 7f0ea65..13843c8 100644
--- a/plugins/build-basic-autotools/plugin.c
+++ b/plugins/build-basic-autotools/plugin.c
@@ -1323,7 +1323,7 @@ build_execute_command_in_context (BuildContext* context, GError **err)
/* Send options to make */
if (strcmp (build_program_get_basename (context->program), "make") == 0)
{
- if (g_settings_get_int (settings, PREF_PARALLEL_MAKE))
+ if (g_settings_get_boolean (settings, PREF_PARALLEL_MAKE))
{
gchar *arg = g_strdup_printf ("-j%d", g_settings_get_int (settings , PREF_PARALLEL_MAKE_JOB));
build_program_insert_arg (context->program, 1, arg);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]