diff options
Diffstat (limited to 'applets/wncklet/wncklet.c')
-rw-r--r-- | applets/wncklet/wncklet.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/applets/wncklet/wncklet.c b/applets/wncklet/wncklet.c index 43135620..22148500 100644 --- a/applets/wncklet/wncklet.c +++ b/applets/wncklet/wncklet.c @@ -30,8 +30,8 @@ #include <glib/gi18n.h> #include <gtk/gtk.h> -#include <libwnck/screen.h> -#include <libwnck/util.h> +#include <libmatewnck/screen.h> +#include <libmatewnck/util.h> #include "wncklet.h" #include "window-menu.h" @@ -92,16 +92,16 @@ void wncklet_display_help(GtkWidget* widget, const char* doc_id, const char* lin } } -WnckScreen* wncklet_get_screen(GtkWidget* applet) +MatewnckScreen* wncklet_get_screen(GtkWidget* applet) { int screen_num; if (!gtk_widget_has_screen(applet)) - return wnck_screen_get_default(); + return matewnck_screen_get_default(); screen_num = gdk_screen_get_number(gtk_widget_get_screen(applet)); - return wnck_screen_get(screen_num); + return matewnck_screen_get(screen_num); } void wncklet_connect_while_alive(gpointer object, const char* signal, GCallback func, gpointer func_data, gpointer alive_object) @@ -120,7 +120,7 @@ static gboolean wncklet_factory(MatePanelApplet* applet, const char* iid, gpoint if (!type_registered) { - wnck_set_client_type(WNCK_CLIENT_TYPE_PAGER); + matewnck_set_client_type(MATEWNCK_CLIENT_TYPE_PAGER); type_registered = TRUE; } |