summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-05-12 18:59:11 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-05-12 18:59:11 (GMT)
commitf97bc58b93126e51deaf620d15c7771a9b233de5 (patch)
tree1f929c70fdffe084511b05721f4a88e51a3642dc /src/gtkext
parent4605b4ac4a04bb11bdf91d77e248656702774bde (diff)
Included buffer views in graph views in the right way.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@535 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/gtkgraphview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtkext/gtkgraphview.c b/src/gtkext/gtkgraphview.c
index d5b123e..1b18c64 100644
--- a/src/gtkext/gtkgraphview.c
+++ b/src/gtkext/gtkgraphview.c
@@ -364,7 +364,7 @@ static void gtk_graph_view_define_main_address(GtkGraphView *view, const vmpa2t
gtk_graph_view_compute_requested_size(view, &width, &height);
- gtk_widget_size_allocate(view, (GtkAllocation []){ { 0, 0, width, height } });
+ gtk_widget_size_allocate(GTK_WIDGET(view), (GtkAllocation []){ { 0, 0, width, height } });
gtk_widget_size_allocate(view->support, (GtkAllocation []){ { 0, 0, width, height } });
change_editor_items_current_view_content(GTK_VIEW_PANEL(view));
@@ -598,7 +598,7 @@ static GtkBufferView **gtk_graph_view_load_nodes(GtkGraphView *view, GLoadedBina
g_signal_connect(result[i], "highlight-changed", G_CALLBACK(gtk_graph_view_changed_highlights), view);
gtk_widget_show(GTK_WIDGET(result[i]));
- gtk_view_panel_attach_binary(GTK_VIEW_PANEL(result[i]), binary, BVW_BLOCK);
+ gtk_view_panel_attach_binary(GTK_VIEW_PANEL(result[i]), binary, BVW_GRAPH);
gtk_view_panel_show_border(GTK_VIEW_PANEL(result[i]), true);