summaryrefslogtreecommitdiff
path: root/libpurple/whiteboard.h
diff options
context:
space:
mode:
authorMark Doliner <markdoliner@pidgin.im>2007-02-04 19:42:39 +0000
committerMark Doliner <markdoliner@pidgin.im>2007-02-04 19:42:39 +0000
commit2ecb49fca93581f8d00ef8e4f28813c62cdea58f (patch)
tree8139043b5d164a73bf6cac6861b73aca14fdfbcd /libpurple/whiteboard.h
parenta3351a073a455fe04e10b1783ed2ce0d0d12da5a (diff)
downloadpidgin-2ecb49fca93581f8d00ef8e4f28813c62cdea58f.tar.gz
sf patch #1647731, from Markus Elfring
constify some things
Diffstat (limited to 'libpurple/whiteboard.h')
-rw-r--r--libpurple/whiteboard.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpurple/whiteboard.h b/libpurple/whiteboard.h
index dc150c547a..4cbc514232 100644
--- a/libpurple/whiteboard.h
+++ b/libpurple/whiteboard.h
@@ -73,9 +73,9 @@ struct _GaimWhiteboardPrplOps
{
void (*start)(GaimWhiteboard *wb); /**< start function */
void (*end)(GaimWhiteboard *wb); /**< end function */
- void (*get_dimensions)(GaimWhiteboard *wb, int *width, int *height); /**< get_dimensions function */
+ void (*get_dimensions)(const GaimWhiteboard *wb, int *width, int *height); /**< get_dimensions function */
void (*set_dimensions)(GaimWhiteboard *wb, int width, int height); /**< set_dimensions function */
- void (*get_brush) (GaimWhiteboard *wb, int *size, int *color); /**< get the brush size and color */
+ void (*get_brush) (const GaimWhiteboard *wb, int *size, int *color); /**< get the brush size and color */
void (*set_brush) (GaimWhiteboard *wb, int size, int color); /**< set the brush size and color */
void (*send_draw_list)(GaimWhiteboard *wb, GList *draw_list); /**< send_draw_list function */
void (*clear)(GaimWhiteboard *wb); /**< clear function */
@@ -138,7 +138,7 @@ void gaim_whiteboard_start(GaimWhiteboard *wb);
*
* @return The whiteboard if found, otherwise @c NULL.
*/
-GaimWhiteboard *gaim_whiteboard_get_session(GaimAccount *account, const char *who);
+GaimWhiteboard *gaim_whiteboard_get_session(const GaimAccount *account, const char *who);
/**
* Destorys a drawing list for a whiteboard
@@ -156,7 +156,7 @@ void gaim_whiteboard_draw_list_destroy(GList *draw_list);
*
* @return TRUE if the values of width and height were set.
*/
-gboolean gaim_whiteboard_get_dimensions(GaimWhiteboard *wb, int *width, int *height);
+gboolean gaim_whiteboard_get_dimensions(const GaimWhiteboard *wb, int *width, int *height);
/**
* Sets the dimensions for a whiteboard.
@@ -231,7 +231,7 @@ void gaim_whiteboard_send_brush(GaimWhiteboard *wb, int size, int color);
*
* @return TRUE if the size and color were set.
*/
-gboolean gaim_whiteboard_get_brush(GaimWhiteboard *wb, int *size, int *color);
+gboolean gaim_whiteboard_get_brush(const GaimWhiteboard *wb, int *size, int *color);
/**
* Sets the size and color of the brush.