summaryrefslogtreecommitdiff
path: root/src/gui/editem.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-01-23 01:05:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-01-23 01:05:58 (GMT)
commitd761eddfd4b5a27620aaa5e67a0e2e2bc5d55cb1 (patch)
treedc0d69813fef1b982c3a0fbdc25a00a6183b0852 /src/gui/editem.c
parentd487ea54850c85ea22df22af3b21b57d9ad0fd2f (diff)
Added menus to change the current displayed view. Do not try the source view.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@228 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/editem.c')
-rw-r--r--src/gui/editem.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/gui/editem.c b/src/gui/editem.c
index 4afd7bd..0516f4d 100644
--- a/src/gui/editem.c
+++ b/src/gui/editem.c
@@ -117,6 +117,25 @@ GtkWidget *g_editor_item_get_widget(const GEditorItem *item)
* *
* Paramètres : item = instance à consulter. *
* *
+* Description : Fournit le gestionnaire du binaire courant. *
+* *
+* Retour : Instance en place ou NULL si aucune. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+GOpenidaBinary *g_editor_item_get_current_binary(const GEditorItem *item)
+{
+ return g_object_get_data(item->ref, "current_binary");
+
+}
+
+
+/******************************************************************************
+* *
+* Paramètres : item = instance à consulter. *
+* *
* Description : Fournit l'affichage de binaire courant. *
* *
* Retour : Instance en place ou NULL si aucune. *