changeset 15592:cf999f8e8a56

Get rid of some minor compile errors related to the consitifcation patch I checked in a few days ago
author Mark Doliner <mark@kingant.net>
date Fri, 09 Feb 2007 07:25:03 +0000
parents 1d0d25848c5d
children 0a5823d45398
files libpurple/protocols/yahoo/yahoo_doodle.c libpurple/protocols/yahoo/yahoo_doodle.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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_ */