summaryrefslogtreecommitdiffstats
path: root/src/progs/gtk/PatchDescriptionWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gtk/PatchDescriptionWindow.cpp')
-rw-r--r--src/progs/gtk/PatchDescriptionWindow.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/progs/gtk/PatchDescriptionWindow.cpp b/src/progs/gtk/PatchDescriptionWindow.cpp
index d10a9c0e..7ae154c3 100644
--- a/src/progs/gtk/PatchDescriptionWindow.cpp
+++ b/src/progs/gtk/PatchDescriptionWindow.cpp
@@ -24,6 +24,7 @@ using std::string;
PatchDescriptionWindow::PatchDescriptionWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& glade_xml)
: Gtk::Window(cobject)
+, m_patch_model(NULL)
{
glade_xml->get_widget("description_author_entry", m_author_entry);
glade_xml->get_widget("description_description_textview", m_textview);
@@ -41,7 +42,7 @@ PatchDescriptionWindow::PatchDescriptionWindow(BaseObjectType* cobject, const Gl
* the window in any way.
*/
void
-PatchDescriptionWindow::patch_model(PatchModel* patch_model)
+PatchDescriptionWindow::patch_model(CountedPtr<PatchModel> patch_model)
{
property_title() = patch_model->path() + " Properties";
m_patch_model = patch_model;