mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 10:16:17 +01:00
[Win32] Make the fatal error message box easier to notice with
2003-08-19 Tor Lillqvist <tml@iki.fi> * glib/gmessages.c (g_logv): [Win32] Make the fatal error message box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR to get a nice stop-sign icon.
This commit is contained in:
parent
9d8e67597c
commit
200bb7f771
@ -1,3 +1,9 @@
|
|||||||
|
2003-08-19 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
|
||||||
|
box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
|
||||||
|
to get a nice stop-sign icon.
|
||||||
|
|
||||||
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-08-19 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
|
||||||
|
box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
|
||||||
|
to get a nice stop-sign icon.
|
||||||
|
|
||||||
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-08-19 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
|
||||||
|
box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
|
||||||
|
to get a nice stop-sign icon.
|
||||||
|
|
||||||
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-08-19 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
|
||||||
|
box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
|
||||||
|
to get a nice stop-sign icon.
|
||||||
|
|
||||||
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-08-19 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
|
||||||
|
box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
|
||||||
|
to get a nice stop-sign icon.
|
||||||
|
|
||||||
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
2003-08-19 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
|
* glib/gmessages.c (g_logv): [Win32] Make the fatal error message
|
||||||
|
box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
|
||||||
|
to get a nice stop-sign icon.
|
||||||
|
|
||||||
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
* m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
|
||||||
|
@ -510,7 +510,8 @@ g_logv (const gchar *log_domain,
|
|||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
gchar *locale_msg = g_locale_from_utf8 (fatal_msg_buf, -1, NULL, NULL, NULL);
|
gchar *locale_msg = g_locale_from_utf8 (fatal_msg_buf, -1, NULL, NULL, NULL);
|
||||||
|
|
||||||
MessageBox (NULL, locale_msg, NULL, MB_OK);
|
MessageBox (NULL, locale_msg, NULL,
|
||||||
|
MB_ICONERROR|MB_SETFOREGROUND);
|
||||||
#endif
|
#endif
|
||||||
#if defined (G_ENABLE_DEBUG) && (defined (SIGTRAP) || defined (G_OS_WIN32))
|
#if defined (G_ENABLE_DEBUG) && (defined (SIGTRAP) || defined (G_OS_WIN32))
|
||||||
if (!(test_level & G_LOG_FLAG_RECURSION))
|
if (!(test_level & G_LOG_FLAG_RECURSION))
|
||||||
|
Loading…
Reference in New Issue
Block a user