diff options
| author | Cyrille Bagard <nocbos@gmail.com> | 2015-05-12 18:59:11 (GMT) | 
|---|---|---|
| committer | Cyrille Bagard <nocbos@gmail.com> | 2015-05-12 18:59:11 (GMT) | 
| commit | f97bc58b93126e51deaf620d15c7771a9b233de5 (patch) | |
| tree | 1f929c70fdffe084511b05721f4a88e51a3642dc | |
| parent | 4605b4ac4a04bb11bdf91d77e248656702774bde (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
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | src/gtkext/gtkgraphview.c | 4 | 
2 files changed, 7 insertions, 2 deletions
| @@ -1,5 +1,10 @@  15-05-12  Cyrille Bagard <nocbos@gmail.com> +	* src/gtkext/gtkgraphview.c: +	Include buffer views in graph views in the right way. + +15-05-12  Cyrille Bagard <nocbos@gmail.com> +  	* src/gtkext/graph/layout.c:  	Fix compilation warnings. 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); | 
