| 1990 pidgin_status_box_draw(GtkWidget *widget, cairo_t *cr) |
1990 pidgin_status_box_draw(GtkWidget *widget, cairo_t *cr) |
| 1991 { |
1991 { |
| 1992 PidginStatusBox *status_box = PIDGIN_STATUS_BOX(widget); |
1992 PidginStatusBox *status_box = PIDGIN_STATUS_BOX(widget); |
| 1993 gtk_widget_draw(status_box->toggle_button, cr); |
1993 gtk_widget_draw(status_box->toggle_button, cr); |
| 1994 |
1994 |
| |
1995 gtk_container_propagate_draw(GTK_CONTAINER(widget), status_box->icon_box, cr); |
| |
1996 gtk_container_propagate_draw(GTK_CONTAINER(widget), status_box->vbox, cr); |
| |
1997 |
| 1995 if (status_box->icon_box && status_box->icon_opaque) { |
1998 if (status_box->icon_box && status_box->icon_opaque) { |
| 1996 GtkAllocation allocation; |
1999 GtkAllocation allocation; |
| 1997 GtkStyleContext *context; |
2000 GtkStyleContext *context; |
| 1998 |
2001 |
| 1999 gtk_widget_get_allocation(status_box->icon_box, &allocation); |
2002 gtk_widget_get_allocation(status_box->icon_box, &allocation); |