changeset 16317:cb1ea9f878f5

Fix two minor compile warnings
author Mark Doliner <mark@kingant.net>
date Mon, 23 Apr 2007 06:43:49 +0000
parents c1f2831c1afe
children 1560f28cb854
files libpurple/protocols/silc/wb.c libpurple/protocols/silc/wb.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/silc/wb.c	Mon Apr 23 06:21:38 2007 +0000
+++ b/libpurple/protocols/silc/wb.c	Mon Apr 23 06:43:49 2007 +0000
@@ -433,7 +433,7 @@
 	wb->proto_data = NULL;
 }
 
-void silcpurple_wb_get_dimensions(PurpleWhiteboard *wb, int *width, int *height)
+void silcpurple_wb_get_dimensions(const PurpleWhiteboard *wb, int *width, int *height)
 {
 	SilcPurpleWb wbs = wb->proto_data;
 	*width = wbs->width;
@@ -452,7 +452,7 @@
 	purple_whiteboard_set_dimensions(wb, wbs->width, wbs->height);
 }
 
-void silcpurple_wb_get_brush(PurpleWhiteboard *wb, int *size, int *color)
+void silcpurple_wb_get_brush(const PurpleWhiteboard *wb, int *size, int *color)
 {
 	SilcPurpleWb wbs = wb->proto_data;
 	*size = wbs->brush_size;
--- a/libpurple/protocols/silc/wb.h	Mon Apr 23 06:21:38 2007 +0000
+++ b/libpurple/protocols/silc/wb.h	Mon Apr 23 06:43:49 2007 +0000
@@ -39,9 +39,9 @@
 			    SilcUInt32 message_len);
 void silcpurple_wb_start(PurpleWhiteboard *wb);
 void silcpurple_wb_end(PurpleWhiteboard *wb);
-void silcpurple_wb_get_dimensions(PurpleWhiteboard *wb, int *width, int *height);
+void silcpurple_wb_get_dimensions(const PurpleWhiteboard *wb, int *width, int *height);
 void silcpurple_wb_set_dimensions(PurpleWhiteboard *wb, int width, int height);
-void silcpurple_wb_get_brush(PurpleWhiteboard *wb, int *size, int *color);
+void silcpurple_wb_get_brush(const PurpleWhiteboard *wb, int *size, int *color);
 void silcpurple_wb_set_brush(PurpleWhiteboard *wb, int size, int color);
 void silcpurple_wb_send(PurpleWhiteboard *wb, GList *draw_list);
 void silcpurple_wb_clear(PurpleWhiteboard *wb);