[geany/geany-plugins] 7928e7: projectorganizer: Fix GTK warning under some conditions

Jiří Techet git-noreply at xxxxx
Wed Feb 25 20:34:33 UTC 2015


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Wed, 25 Feb 2015 20:34:33 UTC
Commit:      7928e7376ed8a61228ee237089c2c505a0b842c2
             https://github.com/geany/geany-plugins/commit/7928e7376ed8a61228ee237089c2c505a0b842c2

Log Message:
-----------
projectorganizer: Fix GTK warning under some conditions


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

Modified: projectorganizer/src/prjorg-sidebar.c
3 lines changed, 2 insertions(+), 1 deletions(-)
===================================================================
@@ -1157,7 +1157,8 @@ static gboolean follow_editor_on_idle(gpointer foo)
 			
 		g_free(path);
 		path = NULL;
-		gtk_tree_model_iter_next(model, &root_iter);
+		if (!gtk_tree_model_iter_next(model, &root_iter))
+			break;
 	}
 	
 	if (!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