dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
familia.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5bcd0d
)
Code formatting.
author
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Sun, 25 Jan 2015 21:46:36 +0000
(22:46 +0100)
committer
Rafał Długołęcki
<rafal@dlugolecki.net.pl>
Sun, 25 Jan 2015 21:46:36 +0000
(22:46 +0100)
src/ui/drawing_area.c
patch
|
blob
|
history
diff --git
a/src/ui/drawing_area.c
b/src/ui/drawing_area.c
index 491906e9002a7fbfd00e2fe3ca0a45f5d39222c3..06ba5e51399375b89bef3035827d1cba31047536 100644
(file)
--- a/
src/ui/drawing_area.c
+++ b/
src/ui/drawing_area.c
@@
-150,7
+150,12
@@
void drawing_area_unrealize (GtkWidget *widget, gpointer data)
/* Code */
}
-void drawing_area_event_scroll (GtkWidget *widget, GdkEventScroll *event, gpointer user_data)
+/**
+ * The "scroll-event" signal handler. Responsible for correctly scrolling
+ * drawing area.
+ */
+void drawing_area_event_scroll (GtkWidget *widget,
+ GdkEventScroll *event, gpointer user_data)
{
assert(event->type == GDK_SCROLL);