gtk+ r21522 - in trunk: . gdk/win32



Author: bratsche
Date: Fri Sep 26 16:47:58 2008
New Revision: 21522
URL: http://svn.gnome.org/viewvc/gtk+?rev=21522&view=rev

Log:
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



Modified:
   trunk/ChangeLog
   trunk/gdk/win32/gdkwindow-win32.c

Modified: trunk/gdk/win32/gdkwindow-win32.c
==============================================================================
--- trunk/gdk/win32/gdkwindow-win32.c	(original)
+++ trunk/gdk/win32/gdkwindow-win32.c	Fri Sep 26 16:47:58 2008
@@ -2959,7 +2959,7 @@
     {
       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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]