[geany/geany-plugins] 1477a8: ProjectOrganizer: don't unnecessarily require too new glib API

Jiří Techet git-noreply at xxxxx
Sat Jan 16 22:43:31 UTC 2016


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Sat, 16 Jan 2016 22:43:31 UTC
Commit:      1477a809d5d588405978cba68d521c6208a5326e
             https://github.com/geany/geany-plugins/commit/1477a809d5d588405978cba68d521c6208a5326e

Log Message:
-----------
ProjectOrganizer: don't unnecessarily require too new glib API


Modified Paths:
--------------
    projectorganizer/src/prjorg-project.c

Modified: projectorganizer/src/prjorg-project.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -79,7 +79,7 @@ static GSList *get_file_list(const gchar *utf8_path, GSList *patterns,
 	gchar *real_path = tm_get_real_path(locale_path);
 
 	dir = g_dir_open(locale_path, 0, NULL);
-	if (!dir || !real_path || g_hash_table_contains(visited_paths, real_path))
+	if (!dir || !real_path || g_hash_table_lookup(visited_paths, real_path))
 	{
 		g_free(locale_path);
 		g_free(real_path);



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


More information about the Plugins-Commits mailing list