summaryrefslogtreecommitdiff
path: root/src/screenshot-interactive-dialog.h
diff options
context:
space:
mode:
authorAlexander Mikhaylenko <alexm@gnome.org>2020-04-03 06:38:28 +0500
committerAlexander Mikhaylenko <alexm@gnome.org>2020-04-03 09:53:36 +0500
commit481c20e2da6f9092a662b82dfb1293b7eda62c4e (patch)
treec055bbd6cebdb4e8588ed2c9850d19d27de7b113 /src/screenshot-interactive-dialog.h
parent08954b025dc1e7ee7ef6b916ba8ba2f6f6d361ba (diff)
downloadgnome-screenshot-481c20e2da6f9092a662b82dfb1293b7eda62c4e.tar.gz
interactive-dialog: Make a GTK template
Diffstat (limited to 'src/screenshot-interactive-dialog.h')
-rw-r--r--src/screenshot-interactive-dialog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/screenshot-interactive-dialog.h b/src/screenshot-interactive-dialog.h
index 1c2d23e..022b662 100644
--- a/src/screenshot-interactive-dialog.h
+++ b/src/screenshot-interactive-dialog.h
@@ -24,6 +24,14 @@
#include <gtk/gtk.h>
+G_BEGIN_DECLS
+
+#define SCREENSHOT_TYPE_INTERACTIVE_DIALOG (screenshot_interactive_dialog_get_type())
+
+G_DECLARE_FINAL_TYPE (ScreenshotInteractiveDialog, screenshot_interactive_dialog, SCREENSHOT, INTERACTIVE_DIALOG, GtkApplicationWindow)
+
typedef void (*CaptureClickedCallback) (gpointer *user_data);
GtkWidget *screenshot_interactive_dialog_new (CaptureClickedCallback f, gpointer user_data);
+
+G_END_DECLS