summaryrefslogtreecommitdiff
path: root/applets/wncklet/wncklet.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-06-06 17:33:00 +0200
committerStefano Karapetsas <[email protected]>2012-06-06 17:33:00 +0200
commitbd86f8daead7479405667acb84d4b976301641b2 (patch)
tree2b81b31014dbb469d9380329aca341ea94257be7 /applets/wncklet/wncklet.c
parent55d552d3f66f6730e195fbb3f25c415161f6b3f0 (diff)
downloadmate-panel-bd86f8daead7479405667acb84d4b976301641b2.tar.bz2
mate-panel-bd86f8daead7479405667acb84d4b976301641b2.tar.xz
switch to libmatewnckmate-panel-1.3.1
Diffstat (limited to 'applets/wncklet/wncklet.c')
-rw-r--r--applets/wncklet/wncklet.c12
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;
}