[mate-panel/f20] add mate-panel_container-child-background.patch

Wolfgang Ulbrich raveit65 at fedoraproject.org
Wed Jun 25 17:48:32 UTC 2014


commit ab1bc0009cd73f5a64f9fb2b2c8c7836bbfab3ee
Author: raveit65 <chat-to-me at raveit.de>
Date:   Wed Jun 25 19:48:27 2014 +0200

    add mate-panel_container-child-background.patch

 mate-panel_container-child-background.patch |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/mate-panel_container-child-background.patch b/mate-panel_container-child-background.patch
new file mode 100644
index 0000000..6e0ee76
--- /dev/null
+++ b/mate-panel_container-child-background.patch
@@ -0,0 +1,16 @@
+diff -upr mate-panel-1.6.2-orig/mate-panel/libmate-panel-applet-private/mate-panel-applet-frame-dbus.c mate-panel-1.6.2/mate-panel/libmate-panel-applet-private/mate-panel-applet-frame-dbus.c
+--- mate-panel-1.6.2-orig/mate-panel/libmate-panel-applet-private/mate-panel-applet-frame-dbus.c	2013-11-15 15:25:42.000000000 +0100
++++ mate-panel-1.6.2/mate-panel/libmate-panel-applet-private/mate-panel-applet-frame-dbus.c	2014-06-25 17:50:25.098194232 +0200
+@@ -237,7 +237,11 @@ container_child_background_set (GObject
+ 	mate_panel_applet_container_child_set_finish (container, res, NULL);
+ 
+ 	if (frame->priv->bg_cancellable)
+-		g_object_unref (frame->priv->bg_cancellable);
++#if GLIB_CHECK_VERSION(2, 28, 0)
++	g_clear_object (&frame->priv->bg_cancellable);
++#else
++	g_object_unref (frame->priv->bg_cancellable);
++#endif
+ 	frame->priv->bg_cancellable = NULL;
+ }
+ 


More information about the scm-commits mailing list