summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}