Commit 416033b6 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

app/widgets/gimpselectiondata.c plug-ins/help/domain.c fixed my latest

2005-02-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpselectiondata.c
	* plug-ins/help/domain.c
	* plug-ins/helpbrowser/dialog.c: fixed my latest changes.
parent 543b0a0e
2005-02-07 Sven Neumann <sven@gimp.org>
* app/widgets/gimpselectiondata.c
* plug-ins/help/domain.c
* plug-ins/helpbrowser/dialog.c: fixed my latest changes.
2005-02-07 Michael Natterer <mitch@gimp.org>
* app/dialogs/file-open-location-dialog.c
......
......@@ -239,7 +239,7 @@ gimp_selection_data_get_uri_list (GtkSelectionData *selection)
D (g_print ("%s: trying to convert \"%s\" to an uri.\n",
G_STRFUNC, dnd_crap));
filename = g_filename_from_uri (dnd_crap, hostname, NULL);
filename = g_filename_from_uri (dnd_crap, &hostname, NULL);
if (filename)
{
......
......@@ -81,7 +81,7 @@ static void domain_error_set_message (GError **error,
const gchar *format,
const gchar *filename);
static gchar help_filename_from_uri (const gchar *uri);
static gchar * filename_from_uri (const gchar *uri);
/* private variables */
......@@ -394,7 +394,7 @@ domain_locale_parse (HelpDomain *domain,
}
if (! domain->help_root)
domain->help_root = help_filename_from_uri (domain->help_uri);
domain->help_root = filename_from_uri (domain->help_uri);
if (! domain->help_root)
{
......@@ -693,8 +693,8 @@ domain_error_set_message (GError **error,
}
}
static gchar
help_filename_from_uri (const gchar *uri)
static gchar *
filename_from_uri (const gchar *uri)
{
gchar *filename;
gchar *hostname;
......
......@@ -81,7 +81,7 @@ static void domain_error_set_message (GError **error,
const gchar *format,
const gchar *filename);
static gchar help_filename_from_uri (const gchar *uri);
static gchar * filename_from_uri (const gchar *uri);
/* private variables */
......@@ -394,7 +394,7 @@ domain_locale_parse (HelpDomain *domain,
}
if (! domain->help_root)
domain->help_root = help_filename_from_uri (domain->help_uri);
domain->help_root = filename_from_uri (domain->help_uri);
if (! domain->help_root)
{
......@@ -693,8 +693,8 @@ domain_error_set_message (GError **error,
}
}
static gchar
help_filename_from_uri (const gchar *uri)
static gchar *
filename_from_uri (const gchar *uri)
{
gchar *filename;
gchar *hostname;
......
......@@ -81,7 +81,7 @@ static void domain_error_set_message (GError **error,
const gchar *format,
const gchar *filename);
static gchar help_filename_from_uri (const gchar *uri);
static gchar * filename_from_uri (const gchar *uri);
/* private variables */
......@@ -394,7 +394,7 @@ domain_locale_parse (HelpDomain *domain,
}
if (! domain->help_root)
domain->help_root = help_filename_from_uri (domain->help_uri);
domain->help_root = filename_from_uri (domain->help_uri);
if (! domain->help_root)
{
......@@ -693,8 +693,8 @@ domain_error_set_message (GError **error,
}
}
static gchar
help_filename_from_uri (const gchar *uri)
static gchar *
filename_from_uri (const gchar *uri)
{
gchar *filename;
gchar *hostname;
......
......@@ -81,7 +81,7 @@ static void domain_error_set_message (GError **error,
const gchar *format,
const gchar *filename);
static gchar help_filename_from_uri (const gchar *uri);
static gchar * filename_from_uri (const gchar *uri);
/* private variables */
......@@ -394,7 +394,7 @@ domain_locale_parse (HelpDomain *domain,
}
if (! domain->help_root)
domain->help_root = help_filename_from_uri (domain->help_uri);
domain->help_root = filename_from_uri (domain->help_uri);
if (! domain->help_root)
{
......@@ -693,8 +693,8 @@ domain_error_set_message (GError **error,
}
}
static gchar
help_filename_from_uri (const gchar *uri)
static gchar *
filename_from_uri (const gchar *uri)
{
gchar *filename;
gchar *hostname;
......
......@@ -105,7 +105,7 @@ static void history_add (GtkComboBox *combo,
static gboolean has_case_prefix (const gchar *haystack,
const gchar *needle);
static gchar filename_from_uri (const gchar *uri);
static gchar * filename_from_uri (const gchar *uri);
/* private variables */
......@@ -705,7 +705,7 @@ has_case_prefix (const gchar *haystack, const gchar *needle)
return (*n == '\0');
}
static gchar
static gchar *
filename_from_uri (const gchar *uri)
{
gchar *filename;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment