summaryrefslogtreecommitdiffstats
path: root/ui/qt/funnel_text_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/funnel_text_dialog.h')
-rw-r--r--ui/qt/funnel_text_dialog.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/qt/funnel_text_dialog.h b/ui/qt/funnel_text_dialog.h
index 84a313c9..19476dd3 100644
--- a/ui/qt/funnel_text_dialog.h
+++ b/ui/qt/funnel_text_dialog.h
@@ -10,8 +10,6 @@
#ifndef FUNNEL_TEXT_DIALOG_H
#define FUNNEL_TEXT_DIALOG_H
-#include <glib.h>
-
#include "epan/funnel.h"
#include "geometry_state_dialog.h"
@@ -44,7 +42,7 @@ public:
void clearText();
const char *getText();
void setCloseCallback(text_win_close_cb_t close_cb, void* close_cb_data);
- void setTextEditable(gboolean editable);
+ void setTextEditable(bool editable);
void addButton(funnel_bt_t *button_cb, QString label);
private slots:
@@ -66,7 +64,7 @@ void text_window_prepend(funnel_text_window_t* ftw, const char* text);
void text_window_clear(funnel_text_window_t *ftw);
const char *text_window_get_text(funnel_text_window_t* ftw);
void text_window_set_close_cb(funnel_text_window_t *ftw, text_win_close_cb_t close_cb, void* close_cb_data);
-void text_window_set_editable(funnel_text_window_t* ftw, gboolean editable);
+void text_window_set_editable(funnel_text_window_t* ftw, bool editable);
void text_window_destroy(funnel_text_window_t* ftw);
void text_window_add_button(funnel_text_window_t* ftw, funnel_bt_t* funnel_button, const char* label);
}