[glom/gmenu] gmenu: Adapt to improved Gio::Action API.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/gmenu] gmenu: Adapt to improved Gio::Action API.
- Date: Fri, 9 Aug 2013 10:35:38 +0000 (UTC)
commit 9e39a70c8f0b1ff36ab3f8050ecac3e0b81cbf9e
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Aug 9 12:35:35 2013 +0200
gmenu: Adapt to improved Gio::Action API.
.../print_layouts/window_print_layout_edit.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glom/mode_design/print_layouts/window_print_layout_edit.cc
b/glom/mode_design/print_layouts/window_print_layout_edit.cc
index d577847..3b02986 100644
--- a/glom/mode_design/print_layouts/window_print_layout_edit.cc
+++ b/glom/mode_design/print_layouts/window_print_layout_edit.cc
@@ -1162,7 +1162,7 @@ void Window_PrintLayout_Edit::do_menu_view_show_outlines(bool active)
void Window_PrintLayout_Edit::on_menu_view_zoom(int parameter)
{
//The state is not changed automatically:
- m_action_zoom->change_state(Glib::Variant<int>::create(parameter)); //Change to change_state(percent) if
we ever make that templated in glibmm.
+ m_action_zoom->change_state(parameter);
if(parameter == 0) //For us, this means Fit Page Width.
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]