summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/gtkext/gtkdisplaypanel.c2
-rw-r--r--src/gui/editem.c4
-rw-r--r--src/gui/editor.c2
4 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f973490..b0b2b61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,13 @@
16-11-09 Cyrille Bagard <nocbos@gmail.com>
* src/gtkext/gtkdisplaypanel.c:
+ * src/gui/editem.c:
+ * src/gui/editor.c:
+ Typo.
+
+16-11-09 Cyrille Bagard <nocbos@gmail.com>
+
+ * src/gtkext/gtkdisplaypanel.c:
Improve the way display panel binaries are tracked.
* src/gui/editem.c:
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;
diff --git a/src/gui/editem.c b/src/gui/editem.c
index 5bb3045..9c86cd6 100644
--- a/src/gui/editem.c
+++ b/src/gui/editem.c
@@ -250,7 +250,7 @@ void change_editor_items_current_binary(GObject *ref, GLoadedBinary *binary)
GEditorItem *iter; /* Boucle de parcours */
GEditorItemClass *klass; /* Classe correspondante */
- g_objet_ref(G_OBJECT(binary));
+ g_object_ref(G_OBJECT(binary));
g_object_set_data_full(ref, "current_binary", binary, g_object_unref);
editem_list_for_each(iter, _editem_list)
@@ -330,7 +330,7 @@ static void start_moving_to_address_in_view_panel(GtkDisplayPanel *panel, const
binary = gtk_display_panel_get_binary(panel);
g_loaded_binary_add_to_collection(binary, G_DB_ITEM(move));
- g_objet_unref(G_OBJECT(binary));
+ g_object_unref(G_OBJECT(binary));
}
diff --git a/src/gui/editor.c b/src/gui/editor.c
index b1d5ab1..f8922a1 100644
--- a/src/gui/editor.c
+++ b/src/gui/editor.c
@@ -1217,7 +1217,7 @@ static void on_dock_item_switch(GtkDockStation *station, GtkWidget *widget, GObj
//notify_panels_of_view_change(GTK_DISPLAY_PANEL(widget), false);
- g_objet_unref(G_OBJECT(binary));
+ g_object_unref(G_OBJECT(binary));
}