Fixed chameleon issues GTK/Cinnamon

git-svn-id: svn://ultimatepp.org/upp/trunk@7934 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2014-11-28 16:56:36 +00:00
parent b567df9c60
commit 30fdecff61
6 changed files with 144 additions and 108 deletions

View file

@ -100,8 +100,8 @@ void Ctrl::WndDestroy()
if(HasFocusDeep())
activeCtrl = owner;
}
gtk_widget_destroy(top->window);
g_object_unref(top->im_context);
gtk_widget_destroy(top->window);
isopen = false;
popup = false;
delete top;