gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-anastasis-gtk] branch master updated: -fix auto-selection of firs


From: gnunet
Subject: [taler-anastasis-gtk] branch master updated: -fix auto-selection of first policy
Date: Wed, 13 Apr 2022 22:24:34 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository anastasis-gtk.

The following commit(s) were added to refs/heads/master by this push:
     new bcdfee5  -fix auto-selection of first policy
bcdfee5 is described below

commit bcdfee59a05f0e25c876bde4297a64f3c2257391
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Apr 13 22:24:31 2022 +0200

    -fix auto-selection of first policy
---
 src/anastasis/anastasis-gtk_action.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/anastasis/anastasis-gtk_action.c 
b/src/anastasis/anastasis-gtk_action.c
index bb39e83..6f0f3ed 100644
--- a/src/anastasis/anastasis-gtk_action.c
+++ b/src/anastasis/anastasis-gtk_action.c
@@ -1821,10 +1821,10 @@ expand_policy_list (void *cls,
 {
   GtkListStore *ls = cls;
   GtkTreeIter iter;
-  bool first;
+  bool have_first;
 
-  first = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (ls),
-                                         &iter);
+  have_first = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (ls),
+                                              &iter);
   gtk_list_store_insert_with_values (
     ls,
     &iter,
@@ -1836,7 +1836,7 @@ expand_policy_list (void *cls,
     AG_SSMC_POLICY_DATE_STRING, GNUNET_TIME_timestamp2s (server_time),
     AG_SSMC_POLICY_DATE_NUMERIC, (guint64) server_time.abs_time.abs_value_us,
     -1);
-  if (first)
+  if (! have_first)
   {
     GtkTreeSelection *selection;
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]