summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-10-22 22:42:16 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-10-22 22:42:16 (GMT)
commit8ae0409cfc70aa399bc0083a1ce6bdb27cc2ce23 (patch)
tree220254552a6dac50bccf80f5f3bb71985d67f3ca /src
parent30bc43ca00140bc215d6a1beb81ab5542e68d13b (diff)
Support scrolling internally and thus fix bugs with big binaries.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@133 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src')
-rw-r--r--src/project.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/project.c b/src/project.c
index 6403b18..2b70a47 100644
--- a/src/project.c
+++ b/src/project.c
@@ -162,7 +162,7 @@ loaded_binary *load_openida_binary(GOpenidaBinary *binary)
gtk_widget_show(view);
- gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scrolledwindow), view);
+ gtk_container_add(GTK_CONTAINER(scrolledwindow), view);
result->views[i] = scrolledwindow;
@@ -602,7 +602,7 @@ GtkWidget *get_view_for_openida_project_binary(const openida_project *project, c
if (project->binaries[i]->binary == binary)
{
result = get_loaded_binary_view(project->binaries[i], view);
- *binview = GTK_BIN_VIEW(gtk_bin_get_child(gtk_bin_get_child(result)));
+ *binview = GTK_BIN_VIEW(gtk_bin_get_child(result));
break;
}