[libgdata] [core] Renamed gdata_service_[get|set]_proxy to *_proxy_uri
- From: Philip Withnall <pwithnall src gnome org>
- To: svn-commits-list gnome org
- Subject: [libgdata] [core] Renamed gdata_service_[get|set]_proxy to *_proxy_uri
- Date: Fri, 24 Apr 2009 18:23:36 -0400 (EDT)
commit 7ad97f6c6df7adb212d0dfd1c1c5d74f97bce0f4
Author: Philip Withnall <philip tecnocode co uk>
Date: Fri Apr 24 23:14:27 2009 +0100
[core] Renamed gdata_service_[get|set]_proxy to *_proxy_uri
---
docs/reference/gdata-sections.txt | 4 ++--
gdata/gdata-service.c | 12 ++++++------
gdata/gdata-service.h | 4 ++--
gdata/gdata.symbols | 4 ++--
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/docs/reference/gdata-sections.txt b/docs/reference/gdata-sections.txt
index c0d24a2..535051d 100644
--- a/docs/reference/gdata-sections.txt
+++ b/docs/reference/gdata-sections.txt
@@ -20,8 +20,8 @@ gdata_service_delete_entry
gdata_service_get_client_id
gdata_service_get_username
gdata_service_get_password
-gdata_service_get_proxy
-gdata_service_set_proxy
+gdata_service_get_proxy_uri
+gdata_service_set_proxy_uri
<SUBSECTION Standard>
GDATA_SERVICE
GDATA_IS_SERVICE
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
index 985b3f7..f277bb5 100644
--- a/gdata/gdata-service.c
+++ b/gdata/gdata-service.c
@@ -245,7 +245,7 @@ gdata_service_get_property (GObject *object, guint property_id, GValue *value, G
g_value_set_boolean (value, priv->authenticated);
break;
case PROP_PROXY_URI:
- g_value_set_boxed (value, gdata_service_get_proxy (GDATA_SERVICE (object)));
+ g_value_set_boxed (value, gdata_service_get_proxy_uri (GDATA_SERVICE (object)));
break;
default:
/* We don't have any other property... */
@@ -264,7 +264,7 @@ gdata_service_set_property (GObject *object, guint property_id, const GValue *va
priv->client_id = g_value_dup_string (value);
break;
case PROP_PROXY_URI:
- gdata_service_set_proxy (GDATA_SERVICE (object), g_value_get_boxed (value));
+ gdata_service_set_proxy_uri (GDATA_SERVICE (object), g_value_get_boxed (value));
break;
default:
/* We don't have any other property... */
@@ -1216,7 +1216,7 @@ notify_proxy_uri_cb (GObject *gobject, GParamSpec *pspec, GObject *self)
}
/**
- * gdata_service_get_proxy:
+ * gdata_service_get_proxy_uri:
* @self: a #GDataService
*
* Gets the proxy URI on the #GDataService's #SoupSession.
@@ -1226,7 +1226,7 @@ notify_proxy_uri_cb (GObject *gobject, GParamSpec *pspec, GObject *self)
* Since: 0.2.0
**/
SoupURI *
-gdata_service_get_proxy (GDataService *self)
+gdata_service_get_proxy_uri (GDataService *self)
{
SoupURI *proxy_uri;
@@ -1239,7 +1239,7 @@ gdata_service_get_proxy (GDataService *self)
}
/**
- * gdata_service_set_proxy:
+ * gdata_service_set_proxy_uri:
* @self: a #GDataService
* @proxy_uri: the proxy URI
*
@@ -1249,7 +1249,7 @@ gdata_service_get_proxy (GDataService *self)
* Since: 0.2.0
**/
void
-gdata_service_set_proxy (GDataService *self, SoupURI *proxy_uri)
+gdata_service_set_proxy_uri (GDataService *self, SoupURI *proxy_uri)
{
g_return_if_fail (GDATA_IS_SERVICE (self));
g_object_set (self->priv->session, SOUP_SESSION_PROXY_URI, proxy_uri, NULL);
diff --git a/gdata/gdata-service.h b/gdata/gdata-service.h
index 5bb8c78..c7ab779 100644
--- a/gdata/gdata-service.h
+++ b/gdata/gdata-service.h
@@ -173,8 +173,8 @@ GDataEntry *gdata_service_update_entry (GDataService *self, GDataEntry *entry, G
gboolean gdata_service_delete_entry (GDataService *self, GDataEntry *entry, GCancellable *cancellable, GError **error);
/* TODO: async version */
-SoupURI *gdata_service_get_proxy (GDataService *self);
-void gdata_service_set_proxy (GDataService *self, SoupURI *proxy_uri);
+SoupURI *gdata_service_get_proxy_uri (GDataService *self);
+void gdata_service_set_proxy_uri (GDataService *self, SoupURI *proxy_uri);
gboolean gdata_service_is_authenticated (GDataService *self);
const gchar *gdata_service_get_client_id (GDataService *self);
diff --git a/gdata/gdata.symbols b/gdata/gdata.symbols
index e9af12a..769c485 100644
--- a/gdata/gdata.symbols
+++ b/gdata/gdata.symbols
@@ -47,8 +47,8 @@ gdata_service_query_finish
gdata_service_insert_entry
gdata_service_update_entry
gdata_service_delete_entry
-gdata_service_get_proxy
-gdata_service_set_proxy
+gdata_service_get_proxy_uri
+gdata_service_set_proxy_uri
gdata_service_is_authenticated
gdata_service_get_client_id
gdata_service_get_username
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]