summaryrefslogtreecommitdiff
path: root/libwnck/test-pager.c
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-04-27 11:03:06 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-04-27 11:04:38 +0300
commit2afc9ba4622df6a62d62df05bfae7eed70e63f2b (patch)
treec8c0417046342a0bcb9ed4f9fedebacb327ab11f /libwnck/test-pager.c
parent83ec12da84e21597bdcc4045a3a3a46696fbb8cc (diff)
downloadlibwnck-2afc9ba4622df6a62d62df05bfae7eed70e63f2b.tar.gz
fix 'declaration of xxx shadows a global declaration' warningswip/warnings
Diffstat (limited to 'libwnck/test-pager.c')
-rw-r--r--libwnck/test-pager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libwnck/test-pager.c b/libwnck/test-pager.c
index 41c578a..316b13a 100644
--- a/libwnck/test-pager.c
+++ b/libwnck/test-pager.c
@@ -25,7 +25,7 @@ create_pager_window (GtkOrientation orientation,
gboolean show_all,
WnckPagerDisplayMode mode,
int rows,
- gboolean wrap_on_scroll)
+ gboolean wrap)
{
GtkWidget *win;
GtkWidget *pager;
@@ -54,7 +54,7 @@ create_pager_window (GtkOrientation orientation,
wnck_pager_set_orientation (WNCK_PAGER (pager), orientation);
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);
+ wnck_pager_set_wrap_on_scroll (WNCK_PAGER (pager), wrap);
gtk_container_add (GTK_CONTAINER (win), pager);