summaryrefslogtreecommitdiff
path: root/applets/wncklet/wncklet.h
diff options
context:
space:
mode:
authorWilliam Wold <[email protected]>2020-09-30 13:01:32 -0700
committerraveit65 <[email protected]>2020-10-21 20:35:15 +0200
commiteda5735ce6b52e8cf738077027581bfe2257c3cb (patch)
tree98f8c47aadb650ca2cf74421356753ebf1917445 /applets/wncklet/wncklet.h
parentbd27321bd83f25ce504267e2098b1bed9e55bf16 (diff)
downloadmate-panel-eda5735ce6b52e8cf738077027581bfe2257c3cb.tar.bz2
mate-panel-eda5735ce6b52e8cf738077027581bfe2257c3cb.tar.xz
Wncklet applets: don't crash on Wayland
Diffstat (limited to 'applets/wncklet/wncklet.h')
-rw-r--r--applets/wncklet/wncklet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/wncklet/wncklet.h b/applets/wncklet/wncklet.h
index d561937f..145cbce3 100644
--- a/applets/wncklet/wncklet.h
+++ b/applets/wncklet/wncklet.h
@@ -24,8 +24,6 @@
#ifndef __WNCKLET_H__
#define __WNCKLET_H__
-#include <libwnck/libwnck.h>
-
#include <glib.h>
#include <gtk/gtk.h>
#include <mate-panel-applet.h>
@@ -36,6 +34,8 @@
extern "C" {
#endif
+typedef struct _WnckScreen WnckScreen;
+
void wncklet_display_help(GtkWidget* widget, const char* doc_id, const char* link_id, const char* icon_name);
WnckScreen* wncklet_get_screen(GtkWidget* applet);