summaryrefslogtreecommitdiff
path: root/src/yelp-base.c
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2004-01-12 00:00:44 +0000
committerShaun McCance <shaunm@src.gnome.org>2004-01-12 00:00:44 +0000
commite62cb3cbef10db994d35eb337baa3ce2bf38ae65 (patch)
tree7a1abb736c33fb54786fa6cab7530b894205ebb0 /src/yelp-base.c
parent063e2b0944943d092578b7338c05572ae1da4abf (diff)
downloadyelp-e62cb3cbef10db994d35eb337baa3ce2bf38ae65.tar.gz
- ... in which I change YelpURI around. Again.
* src/test-pager.c: * src/yelp-base.c: * src/yelp-db-pager.c: * src/yelp-db-pager.h: * src/yelp-history.c: * src/yelp-history.h: * src/yelp-html-gtkhtml2.c: * src/yelp-html.h: * src/yelp-pager.c: * src/yelp-pager.h: * src/yelp-toc-pager.c: * src/yelp-uri.c: * src/yelp-uri.h: * src/yelp-window.c: * src/yelp-window.h: - ... in which I change YelpURI around. Again.
Diffstat (limited to 'src/yelp-base.c')
-rw-r--r--src/yelp-base.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/yelp-base.c b/src/yelp-base.c
index 39e0c017..ad495cad 100644
--- a/src/yelp-base.c
+++ b/src/yelp-base.c
@@ -72,7 +72,7 @@ impl_Yelp_getWindows (PortableServer_Servant servant,
GNOME_Yelp_WindowList *list;
gint len, i;
GSList *node;
- GnomeVFSURI *uri;
+ YelpURI *uri;
base = YELP_BASE (bonobo_object (servant));
priv = base->priv;
@@ -89,7 +89,8 @@ impl_Yelp_getWindows (PortableServer_Servant servant,
gchar *str_uri;
uri = yelp_window_get_current_uri (YELP_WINDOW (node->data));
- str_uri = gnome_vfs_uri_to_string (uri, GNOME_VFS_URI_HIDE_NONE);
+ str_uri = gnome_vfs_uri_to_string (uri->uri,
+ GNOME_VFS_URI_HIDE_NONE);
list->_buffer[i] = CORBA_string_dup (str_uri);
g_free (str_uri);
}
@@ -179,7 +180,7 @@ GtkWidget *
yelp_base_new_window (YelpBase *base, const gchar *str_uri)
{
YelpBasePriv *priv;
- GnomeVFSURI *uri;
+ YelpURI *uri;
GtkWidget *window;
g_return_val_if_fail (YELP_IS_BASE (base), NULL);
@@ -205,7 +206,7 @@ yelp_base_new_window (YelpBase *base, const gchar *str_uri)
uri = yelp_uri_new (str_uri);
else {
uri = yelp_pager_get_uri (YELP_PAGER (yelp_toc_pager_get ()));
- gnome_vfs_uri_ref (uri);
+ yelp_uri_ref (uri);
}
yelp_window_open_uri (YELP_WINDOW (window), uri);