forked from AuroraMiddleware/gtk
b2595c847c
2005-09-02 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkevents-win32.c (gdk_event_translate): Keep track of cursor position also in root window coordinates. Prune out superfluous WM_MOUSEMOVE messages even earlier, based on root window coordinates. Windows sends WM_MOUSEMOVE messages after a new window has ben mapped below the cursor even if the mouse doesn't move. We used to generate GDK_MOTION_NOTIFY in these cases. This confused at least gtk_menu_motion_notify(). (#314995) * gtk/gtkintl.h: No need to include config.h here. It caused warnings about GTK_LOCALEDIR being redefined on Win32 when compiling files where gtkintl.h is included after gtkprivate.h (which #undefines and re-#defines GTK_LOCALEDIR on Win32). * gtk/gtkplug.c: Include config.h.
16 lines
322 B
C
16 lines
322 B
C
#ifndef __GTKINTL_H__
|
|
#define __GTKINTL_H__
|
|
|
|
#include <glib/gi18n-lib.h>
|
|
|
|
#ifdef ENABLE_NLS
|
|
#define P_(String) dgettext(GETTEXT_PACKAGE "-properties",String)
|
|
#else
|
|
#define P_(String) (String)
|
|
#endif
|
|
|
|
/* not really I18N-related, but also a string marker macro */
|
|
#define I_(string) g_intern_static_string (string)
|
|
|
|
#endif
|