diff options
author | Stefano Karapetsas <[email protected]> | 2013-11-29 04:07:54 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-11-29 04:07:54 -0800 |
commit | 3418016449e06e42f6d164a6fe9594fbe8adafe8 (patch) | |
tree | 5d30f753870030c945ffad8b45b590f0f8325852 /mate-window-picker-applet/applet.c | |
parent | c861b869257e89c1d4872476f3311dd52094a92d (diff) | |
parent | 81fb93c89e044fc20cae33523150a11f865daa0a (diff) | |
download | mate-netbook-3418016449e06e42f6d164a6fe9594fbe8adafe8.tar.bz2 mate-netbook-3418016449e06e42f6d164a6fe9594fbe8adafe8.tar.xz |
Merge pull request #7 from infirit/master
Back to libwnck plus various fixes
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)); |