From a7c1ff37291ca9ecfb6618394f4f5e75f048b390 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 21 Jul 2009 21:27:56 -0400 Subject: [PATCH] Fix prototype for shell_app_monitor_get_window_app It contained a stale definition for the old version of _id, it now returns the app. --- src/shell-app-monitor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shell-app-monitor.h b/src/shell-app-monitor.h index 7ed68d05b..1470455f8 100644 --- a/src/shell-app-monitor.h +++ b/src/shell-app-monitor.h @@ -6,6 +6,7 @@ #include #include "window.h" +#include "shell-app-system.h" /* * This object provides monitoring of system application directories (.desktop files) @@ -37,7 +38,7 @@ GType shell_app_monitor_get_type (void) G_GNUC_CONST; ShellAppMonitor* shell_app_monitor_get_default(void); -char *shell_app_monitor_get_window_id (ShellAppMonitor *monitor, MetaWindow *metawin); +ShellAppInfo *shell_app_monitor_get_window_app (ShellAppMonitor *monitor, MetaWindow *metawin); /* Get the most popular applications for a given activity */ GSList *shell_app_monitor_get_most_used_apps (ShellAppMonitor *monitor,