static void caja_window_initialize_trash_icon_monitor (CajaWindow *window) { CajaTrashMonitor *monitor; monitor = caja_trash_monitor_get (); trash_state_changed_cb (monitor, TRUE, window); g_signal_connect (monitor, "trash_state_changed", G_CALLBACK (trash_state_changed_cb), window); }
static void nautilus_window_initialize_trash_icon_monitor (NautilusWindow *window) { NautilusTrashMonitor *monitor; monitor = nautilus_trash_monitor_get (); trash_state_changed_cb (monitor, TRUE, window); g_signal_connect (monitor, "trash_state_changed", G_CALLBACK (trash_state_changed_cb), window); }