(no subject)
Jörgen Scheibengruber <[email protected]> Wed, 13 Aug 2008 23:06:57 +0300
| Newsgroups | gmane.comp.gnome.evolution.patches |
|---|---|
| Message-ID | <[email protected]> |
--=-uHLrZQ0SJww9s/w63cmV
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi,
here comes a patch to libgdata-google that will make the
gdata_google_service_authenticate () a public method. It also tries to
fix a double free bug caused by the insert_entry method ().
PS: I'm not suscribed to the list ;-)
Br,
J=C3=B6rgen
--=-uHLrZQ0SJww9s/w63cmV
Content-Disposition: attachment; filename=gdata-google-service.diff
Content-Type: text/x-patch; name=gdata-google-service.diff; charset=UTF-8
Content-Transfer-Encoding: 7bit
Index: libgdata-google/gdata-google-service.c
===================================================================
--- libgdata-google/gdata-google-service.c (Revision 9341)
+++ libgdata-google/gdata-google-service.c (Arbeitskopie)
@@ -150,7 +150,7 @@
return TRUE;
}
-static gboolean
+gboolean
gdata_google_service_authenticate (GDataGoogleService *service, GError **error)
{
GDataGoogleServicePrivate *priv;
@@ -315,7 +315,7 @@
soup_message_set_request (msg,
"application/atom+xml",
- SOUP_MEMORY_TAKE,
+ SOUP_MEMORY_COPY,
entry_xml,
strlen(entry_xml));
Index: libgdata-google/gdata-google-service.h
===================================================================
--- libgdata-google/gdata-google-service.h (Revision 9341)
+++ libgdata-google/gdata-google-service.h (Arbeitskopie)
@@ -65,6 +65,7 @@
/**API******/
GDataGoogleService * gdata_google_service_new(const gchar *serviceName, const gchar *agent);
+gboolean gdata_google_service_authenticate (GDataGoogleService *service, GError **error);
G_END_DECLS
--=-uHLrZQ0SJww9s/w63cmV
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
--=-uHLrZQ0SJww9s/w63cmV--