summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkgraphdisplay.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-11-12 20:03:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-11-12 20:03:12 (GMT)
commit771f21b9d5dd2b394359304a660418bbc84befda (patch)
tree60d6a9350d388f2db7ad571e6edddf46a99444f2 /src/gtkext/gtkgraphdisplay.c
parentde62d34d2dc6135b42af7f8a103c8c7af09fd54f (diff)
Defined a new interface for displaying loaded contents.
Diffstat (limited to 'src/gtkext/gtkgraphdisplay.c')
-rw-r--r--src/gtkext/gtkgraphdisplay.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gtkext/gtkgraphdisplay.c b/src/gtkext/gtkgraphdisplay.c
index 4d11050..9c6933e 100644
--- a/src/gtkext/gtkgraphdisplay.c
+++ b/src/gtkext/gtkgraphdisplay.c
@@ -33,6 +33,7 @@
#include "graph/cluster.h"
#include "../analysis/routine.h"
#include "../format/format.h"
+#include "../glibext/gloadedpanel.h"
#include "../gui/core/items.h"
@@ -683,7 +684,7 @@ static void gtk_graph_display_define_main_address(GtkGraphDisplay *display, cons
ggddma_done:
- change_editor_items_current_view_content(GTK_DISPLAY_PANEL(display));
+ change_editor_items_current_view_content(G_LOADED_PANEL(display));
g_object_unref(G_OBJECT(format));
@@ -823,7 +824,7 @@ static void gtk_graph_display_cache_glance(GtkGraphDisplay *display, cairo_t *cr
sub_area.width = sub_area.width * scale + 1;
sub_area.height = sub_area.height * scale + 1;
- gtk_display_panel_cache_glance(GTK_DISPLAY_PANEL(child), cr, &sub_area, scale);
+ g_loaded_panel_cache_glance(G_LOADED_PANEL(child), cr, &sub_area, scale);
}