mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
remove apparently spurious warnings about operations on window "none"
* src/core/display.c: remove apparently spurious warnings about operations on window "none" svn path=/trunk/; revision=4026
This commit is contained in:
parent
68ac59ff6d
commit
41b6f0803e
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2008-11-23 Thomas Thurman <tthurman@gnome.org>
|
||||
|
||||
* src/core/display.c: remove apparently spurious warnings about
|
||||
operations on window "none"
|
||||
|
||||
2008-11-23 Thomas Thurman <tthurman@gnome.org>
|
||||
|
||||
* src/core/util.c: Set _POSIX_C_SOURCE to 200112L as it should always
|
||||
have been, in an attempt to close #561962.
|
||||
|
||||
2008-11-22 Thomas Thurman <tthurman@gnome.org>
|
||||
|
||||
* configure.in: Set -ansi so people stop complaining about C99.
|
||||
|
@ -3264,9 +3264,10 @@ meta_display_begin_grab_op (MetaDisplay *display,
|
||||
|
||||
if (display->grab_op != META_GRAB_OP_NONE)
|
||||
{
|
||||
meta_warning ("Attempt to perform window operation %u on window %s when operation %u on %s already in effect\n",
|
||||
op, window ? window->desc : "none", display->grab_op,
|
||||
display->grab_window ? display->grab_window->desc : "none");
|
||||
if (window)
|
||||
meta_warning ("Attempt to perform window operation %u on window %s when operation %u on %s already in effect\n",
|
||||
op, window->desc, display->grab_op,
|
||||
display->grab_window ? display->grab_window->desc : "none");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#define _POSIX_C_SOURCE /* for fdopen() */
|
||||
#define _POSIX_C_SOURCE 200112L /* for fdopen() */
|
||||
|
||||
#include <config.h>
|
||||
#include "util.h"
|
||||
|
Loading…
Reference in New Issue
Block a user