|
|
69b994c |
diff -uNrp a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js
|
|
|
69b994c |
--- a/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2015-07-09 13:17:00.000000000 +0100
|
|
|
69b994c |
+++ b/files/usr/share/cinnamon/applets/calendar@cinnamon.org/applet.js 2015-07-12 16:50:28.817551729 +0100
|
|
|
69b994c |
@@ -30,6 +30,8 @@ function _onVertSepRepaint (area)
|
|
|
69b994c |
cr.setDash([1, 3], 1); // Hard-code for now
|
|
|
69b994c |
cr.setLineWidth(stippleWidth);
|
|
|
69b994c |
cr.stroke();
|
|
|
69b994c |
+
|
|
|
69b994c |
+ cr.$dispose();
|
|
|
69b994c |
};
|
|
|
69b994c |
|
|
|
69b994c |
function MyApplet(orientation, panel_height, instance_id) {
|
|
|
69b994c |
diff -uNrp a/js/ui/appSwitcher/classicSwitcher.js b/js/ui/appSwitcher/classicSwitcher.js
|
|
|
69b994c |
--- a/js/ui/appSwitcher/classicSwitcher.js 2015-07-09 13:17:00.000000000 +0100
|
|
|
69b994c |
+++ b/js/ui/appSwitcher/classicSwitcher.js 2015-07-12 16:50:28.818551694 +0100
|
|
|
69b994c |
@@ -1039,4 +1039,6 @@ function _drawArrow(area, side) {
|
|
|
69b994c |
|
|
|
69b994c |
Clutter.cairo_set_source_color(cr, bodyColor);
|
|
|
69b994c |
cr.fill();
|
|
|
69b994c |
+
|
|
|
69b994c |
+ cr.$dispose();
|
|
|
69b994c |
}
|
|
|
69b994c |
diff -uNrp a/js/ui/boxpointer.js b/js/ui/boxpointer.js
|
|
|
69b994c |
--- a/js/ui/boxpointer.js 2015-07-09 13:17:00.000000000 +0100
|
|
|
69b994c |
+++ b/js/ui/boxpointer.js 2015-07-12 16:50:28.819551660 +0100
|
|
|
69b994c |
@@ -321,6 +321,8 @@ BoxPointer.prototype = {
|
|
|
69b994c |
Clutter.cairo_set_source_color(cr, borderColor);
|
|
|
69b994c |
cr.setLineWidth(borderWidth);
|
|
|
69b994c |
cr.stroke();
|
|
|
69b994c |
+
|
|
|
69b994c |
+ cr.$dispose();
|
|
|
69b994c |
},
|
|
|
69b994c |
|
|
|
69b994c |
setPosition: function(sourceActor, alignment) {
|
|
|
69b994c |
diff -uNrp a/js/ui/panel.js b/js/ui/panel.js
|
|
|
69b994c |
--- a/js/ui/panel.js" 2015-07-09 13:17:00.000000000 +0100
|
|
|
69b994c |
+++ b/js/ui/panel.js 2015-07-12 16:50:28.820551625 +0100
|
|
|
69b994c |
@@ -939,6 +939,8 @@ PanelCorner.prototype = {
|
|
|
69b994c |
cr.appendPath(savedPath);
|
|
|
69b994c |
cr.fill();
|
|
|
69b994c |
cr.restore();
|
|
|
69b994c |
+
|
|
|
69b994c |
+ cr.$dispose();
|
|
|
69b994c |
},
|
|
|
69b994c |
|
|
|
69b994c |
_styleChanged: function() {
|
|
|
69b994c |
diff -uNrp a/js/ui/popupMenu.js b/js/ui/popupMenu.js
|
|
|
69b994c |
--- a/js/ui/popupMenu.js 2015-07-09 13:17:00.000000000 +0100
|
|
|
69b994c |
+++ b/js/ui/popupMenu.js 2015-07-12 16:50:28.821551590 +0100
|
|
|
69b994c |
@@ -205,6 +205,8 @@ PopupBaseMenuItem.prototype = {
|
|
|
69b994c |
color.alpha / 255);
|
|
|
69b994c |
cr.arc(width / 2, height / 2, width / 3, 0, 2 * Math.PI);
|
|
|
69b994c |
cr.fill();
|
|
|
69b994c |
+
|
|
|
69b994c |
+ cr.$dispose();
|
|
|
69b994c |
},
|
|
|
69b994c |
|
|
|
69b994c |
// This returns column widths in logical order (i.e. from the dot
|
|
|
69b994c |
@@ -454,6 +456,8 @@ PopupSeparatorMenuItem.prototype = {
|
|
|
69b994c |
cr.setSource(pattern);
|
|
|
69b994c |
cr.rectangle(margin, gradientOffset, gradientWidth, gradientHeight);
|
|
|
69b994c |
cr.fill();
|
|
|
69b994c |
+
|
|
|
69b994c |
+ cr.$dispose();
|
|
|
69b994c |
}
|
|
|
69b994c |
};
|
|
|
69b994c |
|
|
|
69b994c |
diff -uNrp a/src/cinnamon-app.c b/src/cinnamon-app.c
|
|
|
69b994c |
--- a/src/cinnamon-app.c 2015-07-09 13:17:00.000000000 +0100
|
|
|
69b994c |
+++ b/src/cinnamon-app.c 2015-07-12 16:50:10.851176734 +0100
|
|
|
69b994c |
@@ -254,7 +254,7 @@ cinnamon_app_create_faded_icon_cpu (StTe
|
|
|
69b994c |
return COGL_INVALID_HANDLE;
|
|
|
69b994c |
|
|
|
69b994c |
pixbuf = gtk_icon_info_load_icon (info, NULL);
|
|
|
69b994c |
- gtk_icon_info_free (info);
|
|
|
69b994c |
+ g_object_unref (info);
|
|
|
69b994c |
|
|
|
69b994c |
if (pixbuf == NULL)
|
|
|
69b994c |
return COGL_INVALID_HANDLE;
|
|
|
69b994c |
diff -uNrp a/src/cinnamon-global.c b/src/cinnamon-global.c
|
|
|
69b994c |
--- a/src/cinnamon-global.c 2015-07-09 13:17:00.000000000 +0100
|
|
|
69b994c |
+++ b/src/cinnamon-global.c 2015-07-12 16:50:20.946825537 +0100
|
|
|
69b994c |
@@ -36,8 +36,6 @@
|
|
|
69b994c |
static CinnamonGlobal *the_object = NULL;
|
|
|
69b994c |
|
|
|
69b994c |
static void grab_notify (GtkWidget *widget, gboolean is_grab, gpointer user_data);
|
|
|
69b994c |
-static void cinnamon_global_on_gc (GjsContext *context,
|
|
|
69b994c |
- CinnamonGlobal *global);
|
|
|
69b994c |
|
|
|
69b994c |
struct _CinnamonGlobal {
|
|
|
69b994c |
GObject parent;
|
|
|
69b994c |
@@ -269,7 +267,6 @@ cinnamon_global_init (CinnamonGlobal *gl
|
|
|
69b994c |
global->js_context = g_object_new (GJS_TYPE_CONTEXT,
|
|
|
69b994c |
"search-path", search_path,
|
|
|
69b994c |
NULL);
|
|
|
69b994c |
- // g_signal_connect (global->js_context, "gc", G_CALLBACK (cinnamon_global_on_gc), global);
|
|
|
69b994c |
|
|
|
69b994c |
g_strfreev (search_path);
|
|
|
69b994c |
}
|
|
|
69b994c |
@@ -1339,13 +1336,6 @@ cinnamon_global_shutdown (void)
|
|
|
69b994c |
cinnamon_global_get_current_time (the_object));
|
|
|
69b994c |
}
|
|
|
69b994c |
|
|
|
69b994c |
-static void
|
|
|
69b994c |
-cinnamon_global_on_gc (GjsContext *context,
|
|
|
69b994c |
- CinnamonGlobal *global)
|
|
|
69b994c |
-{
|
|
|
69b994c |
- global->last_gc_end_time = g_get_monotonic_time ();
|
|
|
69b994c |
-}
|
|
|
69b994c |
-
|
|
|
69b994c |
/**
|
|
|
69b994c |
* cinnamon_global_notify_error:
|
|
|
69b994c |
* @global: a #CinnamonGlobal
|
|
|
69b994c |
diff -uNrp a/src/st/st-texture-cache.c /home/leigh/Downloads/Cinnamon-2.6.13/src/st/st-texture-cache.c
|
|
|
69b994c |
--- a/src/st/st-texture-cache.c 2015-07-09 13:17:00.000000000 +0100
|
|
|
69b994c |
+++ b/src/st/st-texture-cache.c 2015-07-12 16:50:10.852176700 +0100
|
|
|
69b994c |
@@ -1410,7 +1410,7 @@ create_faded_icon_cpu (StTextureCache *c
|
|
|
69b994c |
return NULL;
|
|
|
69b994c |
|
|
|
69b994c |
pixbuf = gtk_icon_info_load_icon (info, NULL);
|
|
|
69b994c |
- gtk_icon_info_free (info);
|
|
|
69b994c |
+ g_object_unref (info);
|
|
|
69b994c |
|
|
|
69b994c |
|
|
|
69b994c |
if (pixbuf == NULL)
|