summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkgraphview.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/gtkgraphview.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/gtkgraphview.c')
-rw-r--r--src/gtkext/gtkgraphview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/gtkgraphview.c b/src/gtkext/gtkgraphview.c
index 46a82eb..3c117d9 100644
--- a/src/gtkext/gtkgraphview.c
+++ b/src/gtkext/gtkgraphview.c
@@ -240,7 +240,7 @@ static void gtk_graph_view_adjust_scroll_value(GtkGraphView *view, GtkAdjustment
fake_x = 0;
fake_y = 0;
- gtk_buffer_view_compute_fake_coord(view, &fake_x, &fake_y);
+ gtk_view_panel_compute_fake_coord(GTK_VIEW_PANEL(view), &fake_x, &fake_y);
gtk_fixed_move(GTK_FIXED(view), GTK_WIDGET(view->support), fake_x, -fake_y);