summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/gtkdisplaypanel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkext/gtkdisplaypanel.c b/src/gtkext/gtkdisplaypanel.c
index 0beeb1c..6793d4e 100644
--- a/src/gtkext/gtkdisplaypanel.c
+++ b/src/gtkext/gtkdisplaypanel.c
@@ -858,7 +858,7 @@ static void on_view_panel_binary_display_change(GLoadedBinary *binary, BinaryVie
GLoadedBinary *gtk_display_panel_get_binary(const GtkDisplayPanel *panel)
{
- g_objet_ref(G_OBJECT(binary));
+ g_object_ref(G_OBJECT(panel->binary));
return panel->binary;