From 6d9ddd1048111d1341566f16b30df085ce85eb7d Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Fri, 8 Aug 2025 13:08:41 -0400 Subject: wncklet: Bump libwnck to 43.0 Recent versions of libwnck introduced a WnckHandler object to be used as the main entry point into the library. --- applets/wncklet/wncklet.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'applets/wncklet/wncklet.h') diff --git a/applets/wncklet/wncklet.h b/applets/wncklet/wncklet.h index 145cbce3..4b1dccea 100644 --- a/applets/wncklet/wncklet.h +++ b/applets/wncklet/wncklet.h @@ -28,17 +28,18 @@ #include #include +#define WNCK_I_KNOW_THIS_IS_UNSTABLE +#include + #define WNCKLET_RESOURCE_PATH "/org/mate/panel/applet/wncklet/" #ifdef __cplusplus 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); +WnckScreen* wncklet_get_screen(WnckHandle* handle, GtkWidget* applet); void wncklet_connect_while_alive(gpointer object, const char* signal, GCallback func, gpointer func_data, gpointer alive_object); -- cgit v1.2.1