[metacity/gnome-3-24] libmetacity: fix copy/paste errors



commit 7cacf68d0bfe58c56471dbeaff47d4949446f59c
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Tue Jul 18 21:26:21 2017 +0300

    libmetacity: fix copy/paste errors

 libmetacity/meta-theme-gtk.c      |    4 ++--
 libmetacity/meta-theme-metacity.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libmetacity/meta-theme-gtk.c b/libmetacity/meta-theme-gtk.c
index f80c553..dc006d4 100644
--- a/libmetacity/meta-theme-gtk.c
+++ b/libmetacity/meta-theme-gtk.c
@@ -373,9 +373,9 @@ meta_theme_gtk_calc_geometry (MetaThemeImpl     *impl,
           if (button->visible)
             {
               if (button->type != META_BUTTON_TYPE_SPACER)
-                n_left++;
+                n_right++;
               else
-                n_left_spacers++;
+                n_right_spacers++;
             }
         }
     }
diff --git a/libmetacity/meta-theme-metacity.c b/libmetacity/meta-theme-metacity.c
index c43433d..188e9ae 100644
--- a/libmetacity/meta-theme-metacity.c
+++ b/libmetacity/meta-theme-metacity.c
@@ -4852,9 +4852,9 @@ meta_theme_metacity_calc_geometry (MetaThemeImpl     *impl,
           if (button->visible)
             {
               if (button->type != META_BUTTON_TYPE_SPACER)
-                n_left++;
+                n_right++;
               else
-                n_left_spacers++;
+                n_right_spacers++;
             }
         }
     }


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