| 453 { |
453 { |
| 454 if (statusbox->icon_box == NULL) |
454 if (statusbox->icon_box == NULL) |
| 455 return; |
455 return; |
| 456 |
456 |
| 457 gtk_widget_destroy(statusbox->icon_box); |
457 gtk_widget_destroy(statusbox->icon_box); |
| |
458 |
| |
459 #if GTK_CHECK_VERSION(3,0,0) |
| 458 g_object_unref(statusbox->hand_cursor); |
460 g_object_unref(statusbox->hand_cursor); |
| 459 g_object_unref(statusbox->arrow_cursor); |
461 g_object_unref(statusbox->arrow_cursor); |
| |
462 #else |
| |
463 gdk_cursor_unref(statusbox->hand_cursor); |
| |
464 gdk_cursor_unref(statusbox->arrow_cursor); |
| |
465 #endif |
| 460 |
466 |
| 461 purple_imgstore_unref(statusbox->buddy_icon_img); |
467 purple_imgstore_unref(statusbox->buddy_icon_img); |
| 462 |
468 |
| 463 g_object_unref(G_OBJECT(statusbox->buddy_icon)); |
469 g_object_unref(G_OBJECT(statusbox->buddy_icon)); |
| 464 g_object_unref(G_OBJECT(statusbox->buddy_icon_hover)); |
470 g_object_unref(G_OBJECT(statusbox->buddy_icon_hover)); |