summaryrefslogtreecommitdiff
path: root/applets/wncklet/wncklet.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-26 17:18:03 +0200
committerStefano Karapetsas <[email protected]>2013-07-26 17:18:03 +0200
commitc0f23a7a46776f731f695eb89bef3496150c6470 (patch)
tree01a9c953d5d321ba80d68e871f77bf483ec03efb /applets/wncklet/wncklet.c
parente1f3e5a08411bf396291583ede7e4dab0dd7a092 (diff)
downloadmate-panel-c0f23a7a46776f731f695eb89bef3496150c6470.tar.bz2
mate-panel-c0f23a7a46776f731f695eb89bef3496150c6470.tar.xz
wncklet: Come back to libwnck
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 819a1518..e7c37bbc 100644
--- a/applets/wncklet/wncklet.c
+++ b/applets/wncklet/wncklet.c
@@ -30,8 +30,8 @@
#include <glib/gi18n.h>
#include <gtk/gtk.h>
-#include <libmatewnck/screen.h>
-#include <libmatewnck/util.h>
+#include <libwnck/screen.h>
+#include <libwnck/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
}
}
-MatewnckScreen* wncklet_get_screen(GtkWidget* applet)
+WnckScreen* wncklet_get_screen(GtkWidget* applet)
{
int screen_num;
if (!gtk_widget_has_screen(applet))
- return matewnck_screen_get_default();
+ return wnck_screen_get_default();
screen_num = gdk_screen_get_number(gtk_widget_get_screen(applet));
- return matewnck_screen_get(screen_num);
+ return wnck_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)
{
- matewnck_set_client_type(MATEWNCK_CLIENT_TYPE_PAGER);
+ wnck_set_client_type(WNCK_CLIENT_TYPE_PAGER);
type_registered = TRUE;
}