# HG changeset patch # User Mark Doliner # Date 1171005903 0 # Node ID cf999f8e8a56a34a71d6966d76578fed4ee73af3 # Parent 1d0d25848c5d42ff2b63d30f95628e2b6bbecd51 Get rid of some minor compile errors related to the consitifcation patch I checked in a few days ago diff -r 1d0d25848c5d -r cf999f8e8a56 libpurple/protocols/yahoo/yahoo_doodle.c --- a/libpurple/protocols/yahoo/yahoo_doodle.c Fri Feb 09 07:22:19 2007 +0000 +++ b/libpurple/protocols/yahoo/yahoo_doodle.c Fri Feb 09 07:25:03 2007 +0000 @@ -496,7 +496,7 @@ g_free(wb->proto_data); } -void yahoo_doodle_get_dimensions(GaimWhiteboard *wb, int *width, int *height) +void yahoo_doodle_get_dimensions(const GaimWhiteboard *wb, int *width, int *height) { /* standard Doodle canvases are of one size: 368x256 */ *width = DOODLE_CANVAS_WIDTH; @@ -586,7 +586,7 @@ } } -void yahoo_doodle_get_brush(GaimWhiteboard *wb, int *size, int *color) +void yahoo_doodle_get_brush(const GaimWhiteboard *wb, int *size, int *color) { doodle_session *ds = (doodle_session *)wb->proto_data; *size = ds->brush_size; diff -r 1d0d25848c5d -r cf999f8e8a56 libpurple/protocols/yahoo/yahoo_doodle.h --- a/libpurple/protocols/yahoo/yahoo_doodle.h Fri Feb 09 07:22:19 2007 +0000 +++ b/libpurple/protocols/yahoo/yahoo_doodle.h Fri Feb 09 07:25:03 2007 +0000 @@ -122,12 +122,12 @@ void yahoo_doodle_start(GaimWhiteboard *wb); void yahoo_doodle_end(GaimWhiteboard *wb); -void yahoo_doodle_get_dimensions(GaimWhiteboard *wb, int *width, int *height); +void yahoo_doodle_get_dimensions(const GaimWhiteboard *wb, int *width, int *height); void yahoo_doodle_send_draw_list(GaimWhiteboard *wb, GList *draw_list); void yahoo_doodle_clear(GaimWhiteboard *wb); void yahoo_doodle_draw_stroke(GaimWhiteboard *wb, GList *draw_list); -void yahoo_doodle_get_brush(GaimWhiteboard *wb, int *size, int *color); +void yahoo_doodle_get_brush(const GaimWhiteboard *wb, int *size, int *color); void yahoo_doodle_set_brush(GaimWhiteboard *wb, int size, int color); #endif /* _YAHOO_DOODLE_H_ */