[gnome-shell] shell-global: Remove unused gc-notifications support



commit 0d92451c498ff36313f430a5a058f84e9d714195
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Jan 15 09:18:53 2014 -0500

    shell-global: Remove unused gc-notifications support
    
    This is going to be removed upstream.

 src/shell-global.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/src/shell-global.c b/src/shell-global.c
index 9b7fbdc..849278d 100644
--- a/src/shell-global.c
+++ b/src/shell-global.c
@@ -98,8 +98,6 @@ struct _ShellGlobal {
 
   guint32 xdnd_timestamp;
 
-  gint64 last_gc_end_time;
-
   gboolean has_modal;
 };
 
@@ -300,9 +298,7 @@ shell_global_init (ShellGlobal *global)
 
   global->js_context = g_object_new (GJS_TYPE_CONTEXT,
                                      "search-path", search_path,
-                                     "gc-notifications", TRUE,
                                      NULL);
-  g_signal_connect (global->js_context, "gc", G_CALLBACK (shell_global_on_gc), global);
 
   g_strfreev (search_path);
 }
@@ -1155,13 +1151,6 @@ shell_global_reexec_self (ShellGlobal *global)
   g_ptr_array_free (arr, TRUE);
 }
 
-static void
-shell_global_on_gc (GjsContext   *context,
-                    ShellGlobal  *global)
-{
-  global->last_gc_end_time = g_get_monotonic_time ();
-}
-
 /**
  * shell_global_notify_error:
  * @global: a #ShellGlobal


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