diff options
author | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-18 12:15:01 +0000 |
---|---|---|
committer | randomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64> | 2012-01-18 12:15:01 +0000 |
commit | b7b4415ba319f0e3f1c8fde88cc2c6c3477934cc (patch) | |
tree | fa07cb5ef65016b750d1fc9e797c2b0f31ca268e /tikzit/src/gtk/SettingsDialog.m | |
parent | 42cc92ea91cb770e9e0e64e5bede18aa5cfce25d (diff) |
GTK: ref the correct object
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@397 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'tikzit/src/gtk/SettingsDialog.m')
-rw-r--r-- | tikzit/src/gtk/SettingsDialog.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tikzit/src/gtk/SettingsDialog.m b/tikzit/src/gtk/SettingsDialog.m index 88c66d2..aa5517f 100644 --- a/tikzit/src/gtk/SettingsDialog.m +++ b/tikzit/src/gtk/SettingsDialog.m @@ -72,7 +72,7 @@ static void cancel_button_clicked_cb (GtkButton *widget, SettingsDialog *dialog) GtkWindow *oldParent = parentWindow; if (parent) - g_object_ref (parentWindow); + g_object_ref (parent); parentWindow = parent; if (oldParent) g_object_unref (oldParent); |