summaryrefslogtreecommitdiffstats
path: root/src/dialogs/object-attributes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/object-attributes.cpp')
-rw-r--r--src/dialogs/object-attributes.cpp5
1 files changed, 2 insertions, 3 deletions
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()