diff options
Diffstat (limited to 'src/progs/gtk/GtkObjectController.cpp')
-rw-r--r-- | src/progs/gtk/GtkObjectController.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/progs/gtk/GtkObjectController.cpp b/src/progs/gtk/GtkObjectController.cpp index 49abe58f..241f123b 100644 --- a/src/progs/gtk/GtkObjectController.cpp +++ b/src/progs/gtk/GtkObjectController.cpp @@ -23,16 +23,7 @@ GtkObjectController::GtkObjectController(CountedPtr<ObjectModel> model) : m_model(model) { assert(m_model); -} - - -/** Derived classes should override this to handle special metadata - * keys, then call this to set the model's metadata key. - */ -void -GtkObjectController::metadata_update(const string& key, const string& value) -{ - m_model->set_metadata(key, value); + model->metadata_update_sig.connect(sigc::mem_fun(this, &GtkObjectController::metadata_update)); } |