diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-07-22 21:38:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-07-22 21:38:30 (GMT) |
commit | 250d2773aa372434b721a4e72bff5da7b4f3fb4e (patch) | |
tree | 3bbb6b75e1cc53c5aa189489e416e3dd92bb79c2 /src/gui/tb | |
parent | db863244b804cbf4c06399f7c6f8241d91c9ee9b (diff) |
Used in the right way some features of GLib classes in the GUI code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@382 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gui/tb')
-rw-r--r-- | src/gui/tb/portions.c | 3 | ||||
-rw-r--r-- | src/gui/tb/source.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/tb/portions.c b/src/gui/tb/portions.c index 432f808..bbc31b9 100644 --- a/src/gui/tb/portions.c +++ b/src/gui/tb/portions.c @@ -131,7 +131,8 @@ GEditorItem *create_portions_tb_item(GObject *ref) result = g_toolbar_item_new(ref, "portions", widget, _("Portions")); - result->update_binary = update_portions_item_binary; + /* FIXME */ + //G_EDITOR_ITEM_GET_CLASS(result)->update_binary = update_portions_item_binary; return result; diff --git a/src/gui/tb/source.c b/src/gui/tb/source.c index d5318c4..74de77e 100644 --- a/src/gui/tb/source.c +++ b/src/gui/tb/source.c @@ -115,8 +115,9 @@ GEditorItem *create_source_tb_item(GObject *ref) result = g_toolbar_item_new(ref, "source", widget, _("Source files")); - result->update_binary = update_source_item_binary; - result->update_view = update_source_item_view; + /* FIXME */ + //G_EDITOR_ITEM_GET_CLASS(result)->update_binary = update_source_item_binary; + //G_EDITOR_ITEM_GET_CLASS(result)->update_view = update_source_item_view; return result; |