gnome-panel r10891 - trunk/gnome-panel
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-panel r10891 - trunk/gnome-panel
- Date: Mon, 25 Feb 2008 13:39:54 +0000 (GMT)
Author: alexl
Date: Mon Feb 25 13:39:54 2008
New Revision: 10891
URL: http://svn.gnome.org/viewvc/gnome-panel?rev=10891&view=rev
Log:
2008-02-25 Alexander Larsson <alexl redhat com>
* panel-menu-items.c:
* panel-util.c:
g_uri_get_scheme -> g_uri_parse_scheme
Modified:
trunk/gnome-panel/ChangeLog
trunk/gnome-panel/panel-menu-items.c
trunk/gnome-panel/panel-util.c
Modified: trunk/gnome-panel/panel-menu-items.c
==============================================================================
--- trunk/gnome-panel/panel-menu-items.c (original)
+++ trunk/gnome-panel/panel-menu-items.c Mon Feb 25 13:39:54 2008
@@ -109,7 +109,7 @@
screen = menuitem_to_screen (menuitem);
- scheme = g_uri_get_scheme (path);
+ scheme = g_uri_parse_scheme (path);
if (scheme) {
url = g_strdup (path);
g_free (scheme);
Modified: trunk/gnome-panel/panel-util.c
==============================================================================
--- trunk/gnome-panel/panel-util.c (original)
+++ trunk/gnome-panel/panel-util.c Mon Feb 25 13:39:54 2008
@@ -1113,7 +1113,7 @@
g_return_val_if_fail (uri != NULL, FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
- scheme = g_uri_get_scheme (uri);
+ scheme = g_uri_parse_scheme (uri);
is_local = (scheme == NULL) || !g_ascii_strcasecmp (scheme, "file");
g_free (scheme);
@@ -1810,7 +1810,7 @@
if (g_path_is_absolute (location))
return g_file_new_for_path (location);
- scheme = g_uri_get_scheme (location);
+ scheme = g_uri_parse_scheme (location);
if (scheme) {
file = g_file_new_for_uri (location);
g_free (scheme);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]