summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkblockview.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-30 23:10:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-30 23:10:48 (GMT)
commitbec7fe8b2840838fe3a2620b8af29264d8b54e60 (patch)
tree321bc2e24a42b43a95f62d89a12f8192bce487c5 /src/gtkext/gtkblockview.c
parent55dbd294b0d740648bb1b63e6159e3aa9361a2e1 (diff)
Fixed implicit declarations of functions causing crashes.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@523 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkblockview.c')
-rw-r--r--src/gtkext/gtkblockview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/gtkblockview.c b/src/gtkext/gtkblockview.c
index 2b72ff4..5d14db2 100644
--- a/src/gtkext/gtkblockview.c
+++ b/src/gtkext/gtkblockview.c
@@ -225,7 +225,7 @@ static gboolean gtk_block_view_button_press_event(GtkBlockView *view, GdkEventBu
real_x = event->x;
real_y = event->y;
- gtk_buffer_view_compute_real_coord(bview, &real_x, &real_y);
+ gtk_view_panel_compute_real_coord(GTK_VIEW_PANEL(bview), &real_x, &real_y);
g_buffer_view_highlight_segments(gtk_buffer_view_get_buffer(bview), real_x, real_y, NULL);