[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:
Tor Lillqvist 2003-08-19 19:12:07 +00:00 committed by Tor Lillqvist
parent 9d8e67597c
commit 200bb7f771
7 changed files with 38 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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))