summaryrefslogtreecommitdiff
path: root/libwnck/pager.h
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-06-10 22:02:04 +0000
committerVincent Untz <vuntz@src.gnome.org>2007-06-10 22:02:04 +0000
commitcf59b41ee0e975482fc3e1a134b73b1659688f1c (patch)
tree4ddb8caface435eb89fbf4ac55b7de31622cac95 /libwnck/pager.h
parentc4f4615216c5c277ec2242a11099bf5bcd67741a (diff)
downloadlibwnck-cf59b41ee0e975482fc3e1a134b73b1659688f1c.tar.gz
Do not change the layout shown in the pager if the the pager couldn't
2007-06-10 Vincent Untz <vuntz@gnome.org> Do not change the layout shown in the pager if the the pager couldn't update the layout hint. Fix bug #445686. * libwnck/pager.[ch]: (wnck_pager_set_layout_hint): return the information about the success/failure of the layout change (wnck_pager_set_orientation): reset the pager orientation if the layout could not be changed, and add a return value about the success/failure of the layout change (wnck_pager_set_n_rows): reset the pager number of rows if the layout could not be changed, and add a return value about the success/failure of the layout change svn path=/trunk/; revision=1299
Diffstat (limited to 'libwnck/pager.h')
-rw-r--r--libwnck/pager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libwnck/pager.h b/libwnck/pager.h
index 830e4a0..601901b 100644
--- a/libwnck/pager.h
+++ b/libwnck/pager.h
@@ -83,9 +83,9 @@ GtkWidget* wnck_pager_new (WnckScreen *screen);
void wnck_pager_set_screen (WnckPager *pager,
WnckScreen *screen);
-void wnck_pager_set_orientation (WnckPager *pager,
- GtkOrientation orientation);
-void wnck_pager_set_n_rows (WnckPager *pager,
+gboolean wnck_pager_set_orientation (WnckPager *pager,
+ GtkOrientation orientation);
+gboolean wnck_pager_set_n_rows (WnckPager *pager,
int n_rows);
void wnck_pager_set_display_mode (WnckPager *pager,
WnckPagerDisplayMode mode);