summaryrefslogtreecommitdiff
path: root/src/gui/tb
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-10-22 10:00:41 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-10-22 10:00:41 (GMT)
commit3a259b1e1e3fe870f9d1837ea2ecf6ce5c1d0162 (patch)
tree08cc7f88479ce391b0e94241edd6a181c34664c8 /src/gui/tb
parentd800cb1c80ec68eb1ad85134fd9c0727023f572a (diff)
Fixed GUI bugs in the case where no binary is loaded.
Diffstat (limited to 'src/gui/tb')
-rw-r--r--src/gui/tb/source.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/tb/source.c b/src/gui/tb/source.c
index 466bade..f35ca7c 100644
--- a/src/gui/tb/source.c
+++ b/src/gui/tb/source.c
@@ -223,6 +223,7 @@ GEditorItem *create_source_tb_item(GObject *ref)
static void update_source_item_binary(GEditorItem *item, GLoadedBinary *binary)
{
+#if 0
GtkComboBoxText *combo; /* Liste de sélection */
GtkTreeModel *model; /* Gestionnaire d'éléments */
GtkTreeIter iter; /* Boucle de parcours #2 */
@@ -259,7 +260,7 @@ static void update_source_item_binary(GEditorItem *item, GLoadedBinary *binary)
g_signal_handlers_unblock_by_func(combo, G_CALLBACK(change_selected_source), item);
//gtk_combo_box_set_active(combo, defsrc);
-
+#endif
}