Changeset 7a2a486


Ignore:
Timestamp:
2012-06-03T23:08:43Z (8 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7d2ce9a
Parents:
7de784c
Message:

Shut up a flood of GLib-related compiler warnings.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bitlbee.h

    r7de784c r7a2a486  
    107107#define g_main_quit             __PLEASE_USE_B_MAIN_QUIT__
    108108
     109/* And now, because GLib folks think everyone loves typing ridiculously long
     110   function names ... no I don't or I'd write BitlBee in Java, ffs. */
     111#define g_strcasecmp g_ascii_strcasecmp
     112#define g_strncasecmp g_ascii_strncasecmp
     113
    109114#ifndef G_GNUC_MALLOC
    110115/* Doesn't exist in GLib <=2.4 while everything else in BitlBee should
  • lib/xmltree.c

    r7de784c r7a2a486  
    3030#include "xmltree.h"
    3131
     32#define g_strcasecmp g_ascii_strcasecmp
     33#define g_strncasecmp g_ascii_strncasecmp
     34
    3235static void xt_start_element( GMarkupParseContext *ctx, const gchar *element_name, const gchar **attr_names, const gchar **attr_values, gpointer data, GError **error )
    3336{
  • protocols/oscar/oscar.c

    r7de784c r7a2a486  
    253253        g_return_val_if_fail((s != NULL), NULL);
    254254
    255         u = t = g_strdup(s);
    256         g_strdown(t);
     255        u = t = g_ascii_strdown(s, -1);
    257256
    258257        while (*t && (x < BUF_LEN - 1)) {
Note: See TracChangeset for help on using the changeset viewer.