aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface-gtk.h')
-rw-r--r--src/interface-gtk.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/interface-gtk.h b/src/interface-gtk.h
index c10bdd6..b5200ea 100644
--- a/src/interface-gtk.h
+++ b/src/interface-gtk.h
@@ -22,6 +22,8 @@
#include <glib.h>
+/* FIXME: see interface-gtk.cpp */
+#define GDK_DISABLE_DEPRECATION_WARNINGS
#include <gdk/gdk.h>
#include <gtk/gtk.h>
@@ -132,14 +134,8 @@ public:
void popup_add_impl(PopupEntryType type,
const gchar *name, bool highlight = false);
/* implementation of Interface::popup_show() */
- inline void
- popup_show_impl(void)
- {
- /* FIXME: scroll through popup contents */
- gdk_threads_enter();
- gtk_widget_show(popup_widget);
- gdk_threads_leave();
- }
+ void popup_show_impl(void);
+
/* implementation of Interface::popup_is_shown() */
inline bool
popup_is_shown_impl(void)