[gnome-shell] app-usage: Remove more unused things
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] app-usage: Remove more unused things
- Date: Sat, 17 Nov 2018 12:09:09 +0000 (UTC)
commit 43041f04645b072679aa0d720df6db05d6be24c9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Apr 9 04:10:35 2012 -0300
app-usage: Remove more unused things
https://bugzilla.gnome.org/show_bug.cgi?id=673767
src/shell-app-usage.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/src/shell-app-usage.c b/src/shell-app-usage.c
index 3393a6746..b8dc768ca 100644
--- a/src/shell-app-usage.c
+++ b/src/shell-app-usage.c
@@ -82,9 +82,7 @@ struct _ShellAppUsage
GFile *configfile;
GDBusProxy *session_proxy;
- GdkDisplay *display;
GSettings *privacy_settings;
- gulong last_idle;
guint idle_focus_change_id;
guint save_id;
gboolean currently_idle;
@@ -102,11 +100,6 @@ G_DEFINE_TYPE (ShellAppUsage, shell_app_usage, G_TYPE_OBJECT);
/* Represents an application record for a given context */
struct UsageData
{
- /* Whether the application we're tracking is "transient", see
- * shell_app_is_window_backed.
- */
- gboolean transient;
-
gdouble score; /* Based on the number of times we'e seen the app and normalized */
long last_seen; /* Used to clear old apps we've only seen a few times */
};
@@ -314,7 +307,6 @@ shell_app_usage_init (ShellAppUsage *self)
g_signal_connect (self->session_proxy, "g-signal", G_CALLBACK (session_proxy_signal), self);
g_object_unref (session_bus);
- self->last_idle = 0;
self->currently_idle = FALSE;
self->enable_monitoring = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]