diff options
author | infirit <[email protected]> | 2013-11-28 19:33:41 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2013-11-28 19:40:32 +0100 |
commit | d2e40a5b26525f9512da4b526621264e68587e0e (patch) | |
tree | 1369a6780d4627a3c771c88302c9244297bb86e8 /mate-window-picker-applet/applet.c | |
parent | dada16021aa2f4332496592b196839dea7277dfa (diff) | |
download | mate-netbook-d2e40a5b26525f9512da4b526621264e68587e0e.tar.bz2 mate-netbook-d2e40a5b26525f9512da4b526621264e68587e0e.tar.xz |
Back to libwnck.
Diffstat (limited to 'mate-window-picker-applet/applet.c')
-rw-r--r-- | mate-window-picker-applet/applet.c | 9 |
1 files changed, 5 insertions, 4 deletions
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 <glib/gi18n.h> #include <gtk/gtk.h> -#include <libmatewnck/libmatewnck.h> +#define WNCK_I_KNOW_THIS_IS_UNSTABLE +#include <libwnck/libwnck.h> #include <gio/gio.h> #include <mate-panel-applet.h> @@ -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)); |