10#ifndef __GUI_WIDGETS_BUG_REPORT_DIALOG_H__
11#define __GUI_WIDGETS_BUG_REPORT_DIALOG_H__
15#pragma GCC diagnostic push
16#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
17#include <gtksourceview/gtksource.h>
18#pragma GCC diagnostic pop
26#define BUG_REPORT_DIALOG_WIDGET_TYPE (bug_report_dialog_widget_get_type ())
28 BugReportDialogWidget,
29 bug_report_dialog_widget,
31 BUG_REPORT_DIALOG_WIDGET,
34typedef struct _BugReportDialogWidget
36 AdwAlertDialog parent_instance;
40 GtkLabel * backtrace_lbl;
42 GtkLabel * system_info_lbl;
44 GtkTextView * user_input_text_view;
49 char * undo_stack_long;
56 char * log_file_tmpdir;
57 char * screenshot_path;
58 char * screenshot_tmpdir;
61} BugReportDialogWidget;
66BugReportDialogWidget *
69 const char * msg_prefix,
70 const char * backtrace,