[geany/geany] b1d629: Fix unused warning when building without VTE support

Colomban Wendling git-noreply at xxxxx
Tue Feb 11 17:15:43 UTC 2014


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 11 Feb 2014 17:15:43 UTC
Commit:      b1d6291f7d15e3aed00f5def034d2fe4cf4ed7ab
             https://github.com/geany/geany/commit/b1d6291f7d15e3aed00f5def034d2fe4cf4ed7ab

Log Message:
-----------
Fix unused warning when building without VTE support


Modified Paths:
--------------
    src/keyfile.c

Modified: src/keyfile.c
2 files changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -688,6 +688,7 @@ void configuration_load_session_files(GKeyFile *config, gboolean read_recent_fil
 }
 
 
+#ifdef HAVE_VTE
 static void get_setting_color(GKeyFile *config, const gchar *section, const gchar *key,
 		GdkColor *color, const gchar *default_color)
 {
@@ -696,6 +697,7 @@ static void get_setting_color(GKeyFile *config, const gchar *section, const gcha
 		utils_parse_color(default_color, color);
 	g_free(str);
 }
+#endif
 
 
 /* note: new settings should be added in init_pref_groups() */



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list