use GetDesktopWindow() and SW_SHOW as suggested in bug #171200. Applied to

2005-06-04  Michael Schumacher  <schumaml@cvs.gnome.org>

	* plug-ins/common/webbrowser.c: use GetDesktopWindow() and SW_SHOW
	as suggested in bug #171200. Applied to both branches.
This commit is contained in:
Michael Schumacher 2005-06-04 11:50:32 +00:00 committed by Michael Schumacher
parent 578fef6886
commit 525de1b084
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-06-04 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/common/webbrowser.c: use GetDesktopWindow() and SW_SHOW
as suggested in bug #171200. Applied to both branches.
2005-06-04 Michael Schumacher <schumaml@cvs.gnome.org>
* plug-ins/helpbrowser/dialog.c: added #ifdef G_OS_WIN32 because

View File

@ -121,7 +121,7 @@ browser_open_url (const gchar *url)
{
#ifdef G_OS_WIN32
return ((gint) ShellExecute (HWND_DESKTOP, "open", url, NULL, NULL, SW_SHOWNORMAL) > 32);
return ((gint) ShellExecute (GetDesktopWindow(), "open", url, NULL, NULL, SW_SHOW) > 32);
#else