Bug 541964 – [Win32] Setting modal hint to current value might confuse
2008-07-07 Cody Russell <bratsche@gnome.org> Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the existing modal hint value before setting it. svn path=/trunk/; revision=20809
This commit is contained in:
committed by
Cody Russell
parent
54bd8a3b2d
commit
6301e71979
@ -3548,6 +3548,9 @@ gdk_window_set_modal_hint (GdkWindow *window,
|
||||
|
||||
private = (GdkWindowObject*) window;
|
||||
|
||||
if (modal == private->modal_hint)
|
||||
return;
|
||||
|
||||
private->modal_hint = modal;
|
||||
|
||||
#if 0
|
||||
|
||||
Reference in New Issue
Block a user