diff options
author | Laurent Napias <[email protected]> | 2019-06-29 10:43:23 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-01 17:07:40 +0200 |
commit | aa24676651f8bd3e8b434f72d5aac98e84c0867d (patch) | |
tree | 37693766ecb4733c6061dcc2ddc26954fab5ca01 /cut-n-paste/zoom-control/ephy-zoom-action.c | |
parent | 6741c5db1e5c48c01b25bb7900dc40d48552925d (diff) | |
download | atril-aa24676651f8bd3e8b434f72d5aac98e84c0867d.tar.bz2 atril-aa24676651f8bd3e8b434f72d5aac98e84c0867d.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'cut-n-paste/zoom-control/ephy-zoom-action.c')
-rw-r--r-- | cut-n-paste/zoom-control/ephy-zoom-action.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cut-n-paste/zoom-control/ephy-zoom-action.c b/cut-n-paste/zoom-control/ephy-zoom-action.c index 70376d52..537b9858 100644 --- a/cut-n-paste/zoom-control/ephy-zoom-action.c +++ b/cut-n-paste/zoom-control/ephy-zoom-action.c @@ -140,24 +140,24 @@ create_menu_item (GtkAction *action) for (i = 0; i < n_zoom_levels; i++) { - if (zoom_levels[i].level == EPHY_ZOOM_SEPARATOR) + if (zoom_levels[i].level == EPHY_ZOOM_SEPARATOR) { menu_item = gtk_separator_menu_item_new (); - } - else + } + else { - menu_item = gtk_radio_menu_item_new_with_label (group, + menu_item = gtk_radio_menu_item_new_with_label (group, _(zoom_levels[i].name)); group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_item)); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_item), p->zoom == zoom_levels[i].level); - + g_object_set_data (G_OBJECT (menu_item), "zoom-level", GINT_TO_POINTER (i)); g_signal_connect_object (G_OBJECT (menu_item), "activate", G_CALLBACK (proxy_menu_activate_cb), action, 0); } - + gtk_widget_show (menu_item); gtk_menu_shell_append (GTK_MENU_SHELL (menu), menu_item); } @@ -297,7 +297,7 @@ float ephy_zoom_action_get_zoom_level (EphyZoomAction *action) { g_return_val_if_fail (EPHY_IS_ZOOM_ACTION (action), 1.0); - + return action->priv->zoom; } |