summaryrefslogtreecommitdiff
path: root/src/eom-scroll-view.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:41:34 +0200
committerraveit65 <[email protected]>2021-11-20 17:09:50 +0100
commit3bd33d4b89dd74b5f523957d092acfdf49410280 (patch)
treee5db530b0c9d191a6ceb049be4f0815e48b5d020 /src/eom-scroll-view.c
parent785eb88e75c2da2dadfc1aca869761ece725abad (diff)
downloadeom-3bd33d4b89dd74b5f523957d092acfdf49410280.tar.bz2
eom-3bd33d4b89dd74b5f523957d092acfdf49410280.tar.xz
Use a blank line at most
Diffstat (limited to 'src/eom-scroll-view.c')
-rw-r--r--src/eom-scroll-view.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/eom-scroll-view.c b/src/eom-scroll-view.c
index f35e022..d438021 100644
--- a/src/eom-scroll-view.c
+++ b/src/eom-scroll-view.c
@@ -558,7 +558,6 @@ create_background_surface (EomScrollView *view)
--------------------------------------*/
-
/* Scrolls the view to the specified offsets. */
static void
scroll_to (EomScrollView *view, int x, int y, gboolean change_adjustments)
@@ -640,7 +639,6 @@ scroll_by (EomScrollView *view, int xofs, int yofs)
scroll_to (view, priv->xofs + xofs, priv->yofs + yofs, TRUE);
}
-
/* Callback used when an adjustment is changed */
static void
adjustment_changed_cb (GtkAdjustment *adj, gpointer data)
@@ -657,7 +655,6 @@ adjustment_changed_cb (GtkAdjustment *adj, gpointer data)
gtk_widget_queue_resize (GTK_WIDGET (view));
}
-
/* Drags the image to the specified position */
static void
drag_to (EomScrollView *view, int x, int y)
@@ -923,7 +920,6 @@ display_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer data)
return TRUE;
}
-
/* Button press event handler for the image view */
static gboolean
eom_scroll_view_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer data)
@@ -1158,7 +1154,6 @@ display_size_change (GtkWidget *widget, GdkEventConfigure *event, gpointer data)
update_scrollbar_values (view);
}
-
static gboolean
eom_scroll_view_focus_in_event (GtkWidget *widget,
GdkEventFocus *event,
@@ -1370,7 +1365,6 @@ display_draw (GtkWidget *widget, cairo_t *cr, gpointer data)
return TRUE;
}
-
/*==================================
image loading callbacks
@@ -2075,7 +2069,6 @@ eom_scroll_view_set_property (GObject *object, guint property_id,
}
}
-
static void
eom_scroll_view_class_init (EomScrollViewClass *klass)
{
@@ -2248,7 +2241,6 @@ eom_scroll_view_new (void)
"column-homogeneous", FALSE,
NULL);
-
return widget;
}