Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Brush behaving correctly.
Resolved the wrong initial (default) color and size of brush in the interface issue.
  • Loading branch information
dcrodjer committed Nov 10, 2010
1 parent 9927678 commit 2e08f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pidgin-2.7.4/libpurple/protocols/jabber/jabber_wb.c
Expand Up @@ -228,9 +228,8 @@ PurpleWhiteboard *jabber_wb_create(PurpleAccount *account, char *to) {
wb_session *wbs = g_new0(wb_session, 1);
purple_debug_info("jabber-wb", "Createing a new jabber whiteboard session.\n");
wb = purple_whiteboard_create(account, to, 0);
wbs->brush_size = JABBER_WB_BRUSH_MEDIUM;
wbs->brush_color = JABBER_WB_COLOR_CYAN;
wb->proto_data = wbs;
jabber_wb_set_brush(wb, JABBER_WB_BRUSH_MEDIUM, JABBER_WB_COLOR_CYAN);
return wb;
}

Expand Down
2 changes: 1 addition & 1 deletion pidgin-2.7.4/libpurple/protocols/jabber/jabber_wb.h
Expand Up @@ -52,7 +52,7 @@

#define PALETTE_NUM_OF_COLORS 12

/* Doodle brush sizes (most likely variable) */
/* brush sizes (most likely variable) */
#define JABBER_WB_BRUSH_SMALL 2
#define JABBER_WB_BRUSH_MEDIUM 5
#define JABBER_WB_BRUSH_LARGE 10
Expand Down

0 comments on commit 2e08f47

Please sign in to comment.