From 3f85163d6c6ce18cebab214ad86cc06956e1866e Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Fri, 30 Dec 2011 11:59:19 +0100 Subject: C++ification of item properties dialog (bzr r10805) --- src/dialogs/object-attributes.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/dialogs/object-attributes.cpp') diff --git a/src/dialogs/object-attributes.cpp b/src/dialogs/object-attributes.cpp index 0511ebb3a..b4b2fe256 100644 --- a/src/dialogs/object-attributes.cpp +++ b/src/dialogs/object-attributes.cpp @@ -95,9 +95,8 @@ static void sp_object_attr_show_dialog ( SPObject *object, } window = Inkscape::UI::window_new (title.c_str(), true); - t = new SPAttributeTable (object, labels, attrs, (GtkWidget*)window->gobj()); - t->show(); - window->show(); + t = new SPAttributeTable (object, labels, attrs, NULL); + window->show_all(); } // end of sp_object_attr_show_dialog() -- cgit v1.2.3