+2007-10-29 Matthew Barnes <mbarnes@redhat.com>
+
+ * servers/google/libgdata/gdata-entry.c:
+ * servers/googgle/libgdata-google/gdata-google-service.c:
+ Fix implicit function declarations.
+ Use g_ascii_strcasecmp() instead of g_strcasecmp() (deprecated).
+
2007-10-26 Matthew Barnes <mbarnes@redhat.com>
* docs/reference/calendar/libecal/libecal-sections.txt:
if (!service_is_authenticated( GDATA_GOOGLE_SERVICE(service) )) {
status = service_authenticate(GDATA_GOOGLE_SERVICE(service));
- if (g_strcasecmp(status, "SUCCESS")) {
+ if (g_ascii_strcasecmp(status, "SUCCESS")) {
return NULL;
}
}
if (!service_is_authenticated(GDATA_GOOGLE_SERVICE(service))) {
status = service_authenticate(GDATA_GOOGLE_SERVICE(service));
- if (g_strcasecmp(status,"SUCCESS"))
+ if (g_ascii_strcasecmp(status,"SUCCESS"))
return NULL;
}
if (!service_is_authenticated (GDATA_GOOGLE_SERVICE(service))) {
status = (xmlChar *)service_authenticate (GDATA_GOOGLE_SERVICE(service));
- if (g_strcasecmp((gchar *)status, "SUCCESS"))
+ if (g_ascii_strcasecmp((gchar *)status, "SUCCESS"))
return ;
}
if (!service_is_authenticated (GDATA_GOOGLE_SERVICE (service))) {
status = service_authenticate (GDATA_GOOGLE_SERVICE (service));
- if (g_strcasecmp (status, "SUCCESS"))
+ if (g_ascii_strcasecmp (status, "SUCCESS"))
return;
}
if (!service_is_authenticated (GDATA_GOOGLE_SERVICE(service))) {
status = service_authenticate (GDATA_GOOGLE_SERVICE(service));
- if (g_strcasecmp (status, "SUCCESS"))
+ if (g_ascii_strcasecmp (status, "SUCCESS"))
return;
}
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
+#include <string.h>
#include <gdata-entry.h>
#define GDATA_ENTRY_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), GDATA_TYPE_ENTRY, GDataEntryPrivate))
if (ptr->next == NULL) {
/* FIXME: Will we be needing , these nodes of entries when building them ? */
- if (!g_strcasecmp (key, "published") || !g_strcasecmp (key, "id") || !g_strcasecmp (key, "updated"))
+ if (!g_ascii_strcasecmp (key, "published") || !g_ascii_strcasecmp (key, "id") || !g_ascii_strcasecmp (key, "updated"))
break;
ptr->next = xmlNewNode (NULL, (xmlChar *)key);
while (list) {
link = list->data;
- if (!g_strcasecmp (link->rel, "edit")) {
+ if (!g_ascii_strcasecmp (link->rel, "edit")) {
edit_link = g_strdup(link->href);
}
list = g_slist_next (list);