Bug 553917 – Typo in gdkwindow-win32.c

2008-09-26  Cody Russell  <bratsche@gnome.org>

        Bug 553917 – Typo in gdkwindow-win32.c

        * gdk/win32/gdkwindow-win32.c: Fixed a typo in 
        update_system_menu().  Changed GDK_DECOR_ALL to GDK_FUNC_ALL.

        Reported by Richard Hult


svn path=/trunk/; revision=21522
This commit is contained in:
Cody Russell 2008-09-26 16:47:58 +00:00 committed by Cody Russell
parent 82bf6440e3
commit 7e8ebe06f7
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,12 @@
2008-09-26 Cody Russell <bratsche@gnome.org>
Bug 553917 Typo in gdkwindow-win32.c
* gdk/win32/gdkwindow-win32.c: Fixed a typo in
update_system_menu(). Changed GDK_DECOR_ALL to GDK_FUNC_ALL.
Reported by Richard Hult
2008-09-25 Marek Kasik <mkasik@redhat.com>
Bug 553241 double freed pointer in lpr_write cause firefox3 crash

View File

@ -2959,7 +2959,7 @@ update_system_menu (GdkWindow *window)
{
HMENU hmenu = GetSystemMenu (GDK_WINDOW_HWND (window), FALSE);
all = (functions & GDK_DECOR_ALL);
all = (functions & GDK_FUNC_ALL);
update_single_system_menu_entry (hmenu, all, functions & GDK_FUNC_RESIZE, SC_SIZE);
update_single_system_menu_entry (hmenu, all, functions & GDK_FUNC_MOVE, SC_MOVE);
update_single_system_menu_entry (hmenu, all, functions & GDK_FUNC_MINIMIZE, SC_MINIMIZE);