summaryrefslogtreecommitdiff
path: root/applets/wncklet/wncklet.c
diff options
context:
space:
mode:
Diffstat (limited to 'applets/wncklet/wncklet.c')
-rw-r--r--applets/wncklet/wncklet.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/applets/wncklet/wncklet.c b/applets/wncklet/wncklet.c
index 2b530c5f..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"
@@ -45,9 +45,9 @@ void wncklet_display_help(GtkWidget* widget, const char* doc_id, const char* lin
char* uri;
if (link_id)
- uri = g_strdup_printf("ghelp:%s?%s", doc_id, link_id);
+ uri = g_strdup_printf("help:%s?%s", doc_id, link_id);
else
- uri = g_strdup_printf("ghelp:%s", doc_id);
+ uri = g_strdup_printf("help:%s", doc_id);
gtk_show_uri(gtk_widget_get_screen(widget), uri, gtk_get_current_event_time(), &error);
@@ -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;
}