summaryrefslogtreecommitdiff
path: root/src/screenshot-interactive-dialog.h
diff options
context:
space:
mode:
authorJonh Wendell <jonh.wendell@intel.com>2013-07-04 16:53:31 -0300
committerJonh Wendell <jonh.wendell@intel.com>2013-07-08 08:18:21 -0300
commitc281928882026be59f8dd3294a0ed40dedbaf08b (patch)
tree39608185eebb0f42716d42f3d474c06ee3e53b60 /src/screenshot-interactive-dialog.h
parent448f24a4884e9f5b1a31407268e52b13c64d0f26 (diff)
downloadgnome-screenshot-c281928882026be59f8dd3294a0ed40dedbaf08b.tar.gz
interactive-dialog: make it a full GtkApplicationWindow
this brings back the app menu and the WM close button. https://bugzilla.gnome.org/show_bug.cgi?id=701952
Diffstat (limited to 'src/screenshot-interactive-dialog.h')
-rw-r--r--src/screenshot-interactive-dialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/screenshot-interactive-dialog.h b/src/screenshot-interactive-dialog.h
index a77d1a1..137998c 100644
--- a/src/screenshot-interactive-dialog.h
+++ b/src/screenshot-interactive-dialog.h
@@ -25,6 +25,8 @@
#include <gtk/gtk.h>
-GtkWidget *screenshot_interactive_dialog_new (void);
+typedef void (*CaptureClickedCallback) (gpointer *user_data);
+
+GtkWidget *screenshot_interactive_dialog_new (CaptureClickedCallback f, gpointer user_data);
#endif /* __SCREENSHOT_INTERACTIVE_DIALOG_H__ */