[med-svn] [aghermann] 07/23: assignments within declaration broke set_profile_manage_buttons_visibility

andrei zavada hmmr-guest at moszumanska.debian.org
Wed Jan 4 22:59:25 UTC 2017


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

hmmr-guest pushed a commit to tag 1.1.2
in repository aghermann.

commit bb953fcf03949eee2fd739bd037b4371f45f0c78
Author: Andrei Zavada <hmmr at frdg>
Date:   Tue Jan 3 05:42:27 2017 +0200

    assignments within declaration broke set_profile_manage_buttons_visibility
---
 upstream/src/aghermann/ui/dirlevel-storable-adapter.ii | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/upstream/src/aghermann/ui/dirlevel-storable-adapter.ii b/upstream/src/aghermann/ui/dirlevel-storable-adapter.ii
index e7be6a7..7d108d1 100644
--- a/upstream/src/aghermann/ui/dirlevel-storable-adapter.ii
+++ b/upstream/src/aghermann/ui/dirlevel-storable-adapter.ii
@@ -141,10 +141,10 @@ void
 SDirlevelStorableAdapter<Storable>::
 set_profile_manage_buttons_visibility()
 {
-        bool    have_active  = current_profile != profiles.end(),
-                is_transient = have_active && current_profile->level == agh::TExpDirLevel::transient,
-                is_modified  = have_active && not (*current_profile == Pp2),
-                is_immutable = have_active && current_profile->level == agh::TExpDirLevel::system;
+        bool    have_active  = current_profile != profiles.end();
+        bool    is_transient = have_active && current_profile->level == agh::TExpDirLevel::transient;
+        bool    is_modified  = have_active && not (*current_profile == Pp2);
+        bool    is_immutable = have_active && current_profile->level == agh::TExpDirLevel::system;
         // printf( "active %d %s %d\n", have_active, have_active ? agh::exp_dir_level_s(current_profile->level) : "-", have_active ? not (*current_profile == Pp2) : -1);
         // printf( "%s\n-vs-\n%s\n", have_active ? current_profile->serialize().c_str() : "??", Pp2.serialize().c_str());
         gtk_widget_set_visible( (GtkWidget*)bXProfileSave, have_active);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git



More information about the debian-med-commit mailing list