diff options
author | rbuj <[email protected]> | 2020-07-13 10:51:19 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-21 11:39:20 +0200 |
commit | 7fb07bc91522438d8b8dfc22d558c4304cfe215a (patch) | |
tree | 6845a478269ba70433ec39f9387d20ce6b83daed | |
parent | c331ec988f543ddfd5e0636d15f7aeafeefa1b0f (diff) | |
download | eom-7fb07bc91522438d8b8dfc22d558c4304cfe215a.tar.bz2 eom-7fb07bc91522438d8b8dfc22d558c4304cfe215a.tar.xz |
eom-util: Fix code indent
-rw-r--r-- | src/eom-util.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/eom-util.c b/src/eom-util.c index 69692d5..21f6162 100644 --- a/src/eom-util.c +++ b/src/eom-util.c @@ -455,8 +455,7 @@ eom_notebook_page_scroll_event_cb (GtkWidget *widget, if (event_widget == action_widget || (action_widget != NULL && gtk_widget_is_ancestor (event_widget, action_widget))) return FALSE; - switch (event->direction) - { + switch (event->direction) { case GDK_SCROLL_RIGHT: case GDK_SCROLL_DOWN: gtk_notebook_next_page (notebook); @@ -466,21 +465,20 @@ eom_notebook_page_scroll_event_cb (GtkWidget *widget, gtk_notebook_prev_page (notebook); break; case GDK_SCROLL_SMOOTH: - switch (gtk_notebook_get_tab_pos (notebook)) - { + switch (gtk_notebook_get_tab_pos (notebook)) { case GTK_POS_LEFT: case GTK_POS_RIGHT: if (event->delta_y > 0) - gtk_notebook_next_page (notebook); + gtk_notebook_next_page (notebook); else if (event->delta_y < 0) - gtk_notebook_prev_page (notebook); + gtk_notebook_prev_page (notebook); break; case GTK_POS_TOP: case GTK_POS_BOTTOM: if (event->delta_x > 0) - gtk_notebook_next_page (notebook); + gtk_notebook_next_page (notebook); else if (event->delta_x < 0) - gtk_notebook_prev_page (notebook); + gtk_notebook_prev_page (notebook); break; } break; |