summaryrefslogtreecommitdiff
path: root/libwnck/pager.h
diff options
context:
space:
mode:
authorAlexander Larsson <alla@lysator.liu.se>2001-11-27 05:30:27 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-11-27 05:30:27 +0000
commit30ab33c80219e77075622fbc3f71614cf86f48e6 (patch)
treea85add3d89af0c98af03ac1dee6d4fe6d0c193e0 /libwnck/pager.h
parent69b91fed05f84756ec08ab0711b8cd604e91fd45 (diff)
downloadlibwnck-30ab33c80219e77075622fbc3f71614cf86f48e6.tar.gz
Fix to work with n_rows != 0 (get_workspace_rect,
2001-11-27 Alexander Larsson <alla@lysator.liu.se> * libwnck/pager.[ch] (get_workspace_rect): Fix to work with n_rows != 0 (get_workspace_rect, wnck_pager_size_request): Correct calculation of spaces_per_row if n_spaces not a multiple of n_rows. (wnck_pager_set_n_rows): Allow setting of n_rows.
Diffstat (limited to 'libwnck/pager.h')
-rw-r--r--libwnck/pager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/libwnck/pager.h b/libwnck/pager.h
index 098fd98..ca5c253 100644
--- a/libwnck/pager.h
+++ b/libwnck/pager.h
@@ -54,8 +54,10 @@ GType wnck_pager_get_type (void) G_GNUC_CONST;
GtkWidget* wnck_pager_new (WnckScreen *screen);
-void wnck_pager_set_orientation (WnckPager *pager,
- GtkOrientation orientation);
+void wnck_pager_set_orientation (WnckPager *pager,
+ GtkOrientation orientation);
+void wnck_pager_set_n_rows (WnckPager *pager,
+ int n_rows);
G_END_DECLS