static void prepare_screenshot (void) { if (take_area_shot) screenshot_select_area_async (rectangle_found_cb); else push_check_file_job (NULL); }
static gboolean prepare_screenshot_timeout (gpointer data) { if (screenshot_config->take_area_shot) screenshot_select_area_async (rectangle_found_cb); else finish_prepare_screenshot (NULL); screenshot_save_config (); return FALSE; }
static gboolean prepare_screenshot_timeout (gpointer user_data) { ScreenshotApplication *self = user_data; if (screenshot_config->take_area_shot) screenshot_select_area_async (rectangle_found_cb, self); else finish_prepare_screenshot (self, NULL); screenshot_save_config (); return FALSE; }