diff options
| author | Victor Kareh <[email protected]> | 2025-08-08 13:08:41 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2025-09-03 10:10:16 +0000 |
| commit | cf307653354a4f4d5ab838fa321782f84743ad0a (patch) | |
| tree | 43aa0e1a8d382ea39980154856bd617a0dd18ef0 /applets/wncklet/wncklet.h | |
| parent | 20cb96dfb5f4b79d2bac212edcde8cdda9f3283c (diff) | |
| download | mate-panel-cf307653354a4f4d5ab838fa321782f84743ad0a.tar.bz2 mate-panel-cf307653354a4f4d5ab838fa321782f84743ad0a.tar.xz | |
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.
Diffstat (limited to 'applets/wncklet/wncklet.h')
| -rw-r--r-- | applets/wncklet/wncklet.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 <gtk/gtk.h> #include <mate-panel-applet.h> +#define WNCK_I_KNOW_THIS_IS_UNSTABLE +#include <libwnck/libwnck.h> + #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); |
