[libwnck/wip/muktupavels/modernize: 5/14] test-pager: avoid shadowing existing variable
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck/wip/muktupavels/modernize: 5/14] test-pager: avoid shadowing existing variable
- Date: Wed, 26 Apr 2017 11:32:58 +0000 (UTC)
commit 6386b3eb5b87f59102c48350da05793044e53e4e
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sat Nov 12 16:33:46 2016 +0200
test-pager: avoid shadowing existing variable
libwnck/test-pager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libwnck/test-pager.c b/libwnck/test-pager.c
index 7e3a7a0..41c578a 100644
--- a/libwnck/test-pager.c
+++ b/libwnck/test-pager.c
@@ -24,7 +24,7 @@ static void
create_pager_window (GtkOrientation orientation,
gboolean show_all,
WnckPagerDisplayMode mode,
- int n_rows,
+ int rows,
gboolean wrap_on_scroll)
{
GtkWidget *win;
@@ -52,7 +52,7 @@ create_pager_window (GtkOrientation orientation,
wnck_pager_set_show_all (WNCK_PAGER (pager), show_all);
wnck_pager_set_display_mode (WNCK_PAGER (pager), mode);
wnck_pager_set_orientation (WNCK_PAGER (pager), orientation);
- wnck_pager_set_n_rows (WNCK_PAGER (pager), n_rows);
+ wnck_pager_set_n_rows (WNCK_PAGER (pager), rows);
wnck_pager_set_shadow_type (WNCK_PAGER (pager), GTK_SHADOW_IN);
wnck_pager_set_wrap_on_scroll (WNCK_PAGER (pager), wrap_on_scroll);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]