[gnome-shell] Fix prototype for shell_app_monitor_get_window_app



commit a7c1ff37291ca9ecfb6618394f4f5e75f048b390
Author: Colin Walters <walters verbum org>
Date:   Tue Jul 21 21:27:56 2009 -0400

    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 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-app-monitor.h b/src/shell-app-monitor.h
index 7ed68d0..1470455 100644
--- a/src/shell-app-monitor.h
+++ b/src/shell-app-monitor.h
@@ -6,6 +6,7 @@
 #include <glib.h>
 
 #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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]