gimp r27120 - in trunk: . plug-ins/common
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27120 - in trunk: . plug-ins/common
- Date: Fri, 3 Oct 2008 19:40:20 +0000 (UTC)
Author: neo
Date: Fri Oct 3 19:40:20 2008
New Revision: 27120
URL: http://svn.gnome.org/viewvc/gimp?rev=27120&view=rev
Log:
2008-10-03 Sven Neumann <sven gimp org>
* plug-ins/common/web-browser.c (browser_open_url): removed
trailing whitespace and corrected error message.
Modified:
trunk/ChangeLog
trunk/plug-ins/common/web-browser.c
Modified: trunk/plug-ins/common/web-browser.c
==============================================================================
--- trunk/plug-ins/common/web-browser.c (original)
+++ trunk/plug-ins/common/web-browser.c Fri Oct 3 19:40:20 2008
@@ -120,12 +120,13 @@
browser_open_url (const gchar *url)
{
#ifdef G_OS_WIN32
- HINSTANCE hinst = ShellExecute (GetDesktopWindow(), "open", url, NULL, NULL, SW_SHOW);
-
+ HINSTANCE hinst = ShellExecute (GetDesktopWindow(),
+ "open", url, NULL, NULL, SW_SHOW);
+
if ((gint) hinst <= 32)
{
- const char *err;
-
+ const gchar *err;
+
/* FIXME: should be translated when 2.6 got it's own branch */
switch ((gint) hinst)
{
@@ -171,8 +172,9 @@
default :
err = ("Unknown Windows error.");
}
- g_message (("Failed to open the url '%s'\n%s"), url, err);
- /* FIXME: end of currently intentionaly untranslated */
+
+ g_message (("Failed to open '%s': %s"), url, err);
+
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]