gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis-gtk] 01/02: fix refactoring


From: gnunet
Subject: [taler-anastasis-gtk] 01/02: fix refactoring
Date: Fri, 25 Sep 2020 19:22:21 +0200

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

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

commit f5e98089e95716d799ec97dfde2ddc24c5114a4d
Author: Dennis Neufeld <dennis.neufeld@students.bfh.ch>
AuthorDate: Thu Sep 24 12:07:17 2020 +0200

    fix refactoring
---
 src/anastasis/anastasis-gtk.c        | 18 +++++++++---------
 src/anastasis/anastasis-gtk_helper.c |  2 +-
 src/include/anastasis-gtk_helper.h   |  2 +-
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/anastasis/anastasis-gtk.c b/src/anastasis/anastasis-gtk.c
index 85d252b..41a89c7 100644
--- a/src/anastasis/anastasis-gtk.c
+++ b/src/anastasis/anastasis-gtk.c
@@ -241,7 +241,7 @@ anastasis_gtk_continent_activated (GtkTreeView *tree_view,
 
             if (check_state (redux_state, "ReduxContinentSelectedState"))
                 redux_state = ANASTASIS_backup_start (cfg);
-            ANASTASIS_backup_action (redux_state,
+            ANASTASIS_redux_action (redux_state,
                                      "selection_continent",
                                      arguments,
                                      &action_cb,
@@ -286,7 +286,7 @@ anastasis_gtk_country_activated (GtkTreeView *tree_view,
             json_object_set (arguments, "country_code", json_string 
(country_code));
 
             if (check_state (redux_state, "ReduxContinentSelectedState"))
-                ANASTASIS_backup_action (redux_state,
+                ANASTASIS_redux_action (redux_state,
                                         "selection_country",
                                         arguments,
                                         &action_cb,
@@ -296,7 +296,7 @@ anastasis_gtk_country_activated (GtkTreeView *tree_view,
                 if (! (0 == strcmp (country_name, json_string_value (
                     json_object_get (redux_state, "selected_country")))))
                 {
-                    ANASTASIS_backup_action (redux_state,
+                    ANASTASIS_redux_action (redux_state,
                                              "changing_country",
                                              arguments,
                                              &action_cb,
@@ -453,17 +453,17 @@ anastasis_gtk_main_window_forward_clicked (GObject 
*object,
         json_object_set_new (arguments, "identity", attributes);
 
         if (check_state (redux_state, "ReduxCountrySelectedState"))
-            ANASTASIS_backup_action (redux_state,
+            ANASTASIS_redux_action (redux_state,
                                     "entering_user_attributes",
                                     arguments,
                                     &action_cb,
                                     NULL);
         else
-            ANASTASIS_backup_action (redux_state,
-                                     "editing_user_attributes",
-                                     arguments,
-                                     &action_cb,
-                                     NULL);
+            ANASTASIS_redux_action (redux_state,
+                                    "editing_user_attributes",
+                                    arguments,
+                                    &action_cb,
+                                    NULL);
 
         gtk_widget_hide (GTK_WIDGET (GCG_get_main_window_object (
                                         "anastasis_gtk_identity_frame")));
diff --git a/src/anastasis/anastasis-gtk_helper.c 
b/src/anastasis/anastasis-gtk_helper.c
index f0b94eb..6b25123 100644
--- a/src/anastasis/anastasis-gtk_helper.c
+++ b/src/anastasis/anastasis-gtk_helper.c
@@ -154,7 +154,7 @@ persist_state (json_t *state)
 
 
 /**
- * Function called with the results of #ANASTASIS_backup_action
+ * Function called with the results of #ANASTASIS_redux_action
  * or #ANASTASIS_recovery_action.
  *
  * @param cls closure
diff --git a/src/include/anastasis-gtk_helper.h 
b/src/include/anastasis-gtk_helper.h
index 5ba4048..c1f384f 100644
--- a/src/include/anastasis-gtk_helper.h
+++ b/src/include/anastasis-gtk_helper.h
@@ -56,7 +56,7 @@ extern struct GNUNET_CURL_RescheduleContext *rc;
 
 
 /**
- * Function called with the results of #ANASTASIS_backup_action
+ * Function called with the results of #ANASTASIS_redux_action
  * or #ANASTASIS_recovery_action.
  *
  * @param cls closure

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