| 516 pidgin_whiteboard_rgb24_to_rgba(gtkwb->brush_color, &color); |
516 pidgin_whiteboard_rgb24_to_rgba(gtkwb->brush_color, &color); |
| 517 gtk_color_chooser_set_rgba(GTK_COLOR_CHOOSER(gtkwb->color_button), |
517 gtk_color_chooser_set_rgba(GTK_COLOR_CHOOSER(gtkwb->color_button), |
| 518 &color); |
518 &color); |
| 519 |
519 |
| 520 /* Make all this (window) visible */ |
520 /* Make all this (window) visible */ |
| 521 gtk_widget_show(GTK_WIDGET(gtkwb)); |
521 gtk_widget_set_visible(GTK_WIDGET(gtkwb), TRUE); |
| 522 |
522 |
| 523 /* TODO Specific protocol/whiteboard assignment here? Needs a UI Op? */ |
523 /* TODO Specific protocol/whiteboard assignment here? Needs a UI Op? */ |
| 524 /* Set default brush size and color */ |
524 /* Set default brush size and color */ |
| 525 /* |
525 /* |
| 526 ds->brush_size = DOODLE_BRUSH_MEDIUM; |
526 ds->brush_size = DOODLE_BRUSH_MEDIUM; |