From d2e40a5b26525f9512da4b526621264e68587e0e Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 28 Nov 2013 19:33:41 +0100 Subject: Back to libwnck. --- mate-window-picker-applet/applet.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'mate-window-picker-applet/applet.c') diff --git a/mate-window-picker-applet/applet.c b/mate-window-picker-applet/applet.c index 5a7e646..be98536 100644 --- a/mate-window-picker-applet/applet.c +++ b/mate-window-picker-applet/applet.c @@ -28,7 +28,8 @@ #include #include -#include +#define WNCK_I_KNOW_THIS_IS_UNSTABLE +#include #include #include @@ -138,7 +139,7 @@ cw_applet_fill (MatePanelApplet *applet, const gchar *iid, gpointer data) { - MatewnckScreen *screen; + WnckScreen *screen; WinPickerApp *app; GtkWidget *eb, *tasks, *title; gchar *ui_path; @@ -152,11 +153,11 @@ cw_applet_fill (MatePanelApplet *applet, bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); - matewnck_set_client_type (MATEWNCK_CLIENT_TYPE_PAGER); + wnck_set_client_type (WNCK_CLIENT_TYPE_PAGER); app = g_slice_new0 (WinPickerApp); mainapp = app; - screen = matewnck_screen_get_default (); + screen = wnck_screen_get_default (); /* prepare to disable Maximus */ object_class = G_OBJECT_GET_CLASS (G_OBJECT(applet)); -- cgit v1.2.1