(no subject)

View: New views
2 Messages — Rating Filter:   Alert me  

(no subject)

by Jörgen Scheibengruber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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örgen

[gdata-google-service.diff]

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
 


_______________________________________________
Evolution-patches mailing list
Evolution-patches@...
http://mail.gnome.org/mailman/listinfo/evolution-patches

Re: (no subject)

by Srinivasa Ragavan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jörgen

Looks fine to commit. Please post your patches to bugzilla with a bug
for it. So that it doesn't get missed.

-Srini.

On Wed, 2008-08-13 at 23:06 +0300, Jörgen Scheibengruber wrote:

> 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örgen
> _______________________________________________
> Evolution-patches mailing list
> Evolution-patches@...
> http://mail.gnome.org/mailman/listinfo/evolution-patches

_______________________________________________
Evolution-patches mailing list
Evolution-patches@...
http://mail.gnome.org/mailman/listinfo/evolution-patches