summaryrefslogtreecommitdiffstats
path: root/src/dialogs
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2011-12-31 07:33:29 +0000
committerKris <Kris.De.Gussem@hotmail.com>2011-12-31 07:33:29 +0000
commit4cd6959071a9beb79659eb4be459fc9c38aeece2 (patch)
tree3ae04bad4818727e92e5ba224392fbb0b82f7052 /src/dialogs
parentItem properties dialog: (diff)
downloadinkscape-4cd6959071a9beb79659eb4be459fc9c38aeece2.tar.gz
inkscape-4cd6959071a9beb79659eb4be459fc9c38aeece2.zip
Item properties dialog: fix multi-document issue (propably introduced in revision 10805)
(bzr r10811)
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/item-properties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/item-properties.cpp b/src/dialogs/item-properties.cpp
index 99a698450..1101f9eec 100644
--- a/src/dialogs/item-properties.cpp
+++ b/src/dialogs/item-properties.cpp
@@ -142,7 +142,7 @@ SPItemDialog::SPItemDialog (void) :
wd.stop = 0;
//set callback for the new dialog
- g_signal_connect ( G_OBJECT (INKSCAPE), "activate_desktop", G_CALLBACK (sp_transientize_callback), &wd);
+ g_signal_connect ( G_OBJECT (INKSCAPE), "activate_desktop", G_CALLBACK (sp_transientize_callback), dlg);
g_signal_connect ( G_OBJECT (dlg), "event", G_CALLBACK (sp_dialog_event_handler), dlg);
// g_signal_connect ( G_OBJECT (dlg), "destroy", G_CALLBACK (sp_item_dialog_delete), dlg);
g_signal_connect ( G_OBJECT (dlg), "delete_event", G_CALLBACK (sp_item_dialog_delete), dlg);