diff options
author | Vincent Untz <vuntz@gnome.org> | 2007-06-10 22:02:04 +0000 |
---|---|---|
committer | Vincent Untz <vuntz@src.gnome.org> | 2007-06-10 22:02:04 +0000 |
commit | cf59b41ee0e975482fc3e1a134b73b1659688f1c (patch) | |
tree | 4ddb8caface435eb89fbf4ac55b7de31622cac95 /libwnck/pager.h | |
parent | c4f4615216c5c277ec2242a11099bf5bcd67741a (diff) | |
download | libwnck-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.h | 6 |
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); |