diff options
Diffstat (limited to 'mate-screenshot/screenshot-utils.h')
-rw-r--r-- | mate-screenshot/screenshot-utils.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mate-screenshot/screenshot-utils.h b/mate-screenshot/screenshot-utils.h index 5404bde4..b9d13f7b 100644 --- a/mate-screenshot/screenshot-utils.h +++ b/mate-screenshot/screenshot-utils.h @@ -25,14 +25,13 @@ G_BEGIN_DECLS +typedef void (* SelectAreaCallback) (GdkRectangle *rectangle); + gboolean screenshot_grab_lock (void); void screenshot_release_lock (void); gchar *screenshot_get_window_title (GdkWindow *win); GdkWindow *screenshot_find_current_window (void); -gboolean screenshot_select_area (int *px, - int *py, - int *pwidth, - int *pheight); +void screenshot_select_area_async (SelectAreaCallback callback); GdkPixbuf *screenshot_get_pixbuf (GdkWindow *win, GdkRectangle *rectangle, gboolean include_pointer, |