diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-02 21:34:30 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-02 21:34:30 (EDT) |
commit | 1d8fc6e76ea576b0b24d7210c035137cfedf4a51 (patch) | |
tree | 7c1d44f94c189ff20b7b3162e77392e7930603f6 | |
parent | e14e45f1dd86488e886cc03d7dd14f5bc19a6f69 (diff) | |
download | marquee-1d8fc6e76ea576b0b24d7210c035137cfedf4a51.zip marquee-1d8fc6e76ea576b0b24d7210c035137cfedf4a51.tar.gz marquee-1d8fc6e76ea576b0b24d7210c035137cfedf4a51.tar.bz2 |
MqMainMenu: Move a callback
open_clicked_cb() and save_clicked_cb() got stuck between
zoom_out_clicked_cb() and zoom_reset_clicked_cb() by mistake.
-rw-r--r-- | src/toolbars/navigation/main-menu.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/toolbars/navigation/main-menu.c b/src/toolbars/navigation/main-menu.c index 3ff844a..f6aeb87 100644 --- a/src/toolbars/navigation/main-menu.c +++ b/src/toolbars/navigation/main-menu.c @@ -86,12 +86,6 @@ paste_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) } static void -zoom_out_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) -{ - mq_web_view_zoom_out(main_menu->web_view); -} - -static void open_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) { gtk_widget_hide(main_menu->popover); @@ -106,6 +100,12 @@ save_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) } static void +zoom_out_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) +{ + mq_web_view_zoom_out(main_menu->web_view); +} + +static void zoom_reset_clicked_cb(GtkButton G_GNUC_UNUSED *button, MqMainMenu *main_menu) { mq_web_view_zoom_reset(main_menu->web_view); |