static void showing_desktop_changed_callback (MatewnckScreen *screen, gpointer data) { g_print ("Showing desktop now = %d\n", matewnck_screen_get_showing_desktop (screen)); }
static void show_desktop_changed_callback(MatewnckScreen* screen, ShowDesktopData* sdd) { if (sdd->matewnck_screen != NULL) sdd->showing_desktop = matewnck_screen_get_showing_desktop(sdd->matewnck_screen); update_button_state (sdd); }