[geany/geany-plugins] 132116: debugger: Fix missing sentinel in gtk_tree_model_get() call

Colomban Wendling git-noreply at xxxxx
Fri Feb 5 01:42:21 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Fri, 05 Feb 2016 01:42:21 UTC
Commit:      1321161e0944d154674c45820f9ffb61d8f17f82
             https://github.com/geany/geany-plugins/commit/1321161e0944d154674c45820f9ffb61d8f17f82

Log Message:
-----------
debugger: Fix missing sentinel in gtk_tree_model_get() call


Modified Paths:
--------------
    debugger/src/stree.c

Modified: debugger/src/stree.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -507,7 +507,7 @@ void stree_add_thread(int thread_id)
 		do
 		{
 			int existing_thread_id;
-			gtk_tree_model_get(model, &thread_iter, S_THREAD_ID, &existing_thread_id);
+			gtk_tree_model_get(model, &thread_iter, S_THREAD_ID, &existing_thread_id, -1);
 			if (existing_thread_id > thread_id)
 			{
 				consecutive = &thread_iter;



--------------
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