summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/gtk-engines-murrine/files/gtk-engines-murrine-0.53.1-use-gtk_free.patch')
-rw-r--r--x11-themes/gtk-engines-murrine/files/gtk-engines-murrine-0.53.1-use-gtk_free.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-themes/gtk-engines-murrine/files/gtk-engines-murrine-0.53.1-use-gtk_free.patch b/x11-themes/gtk-engines-murrine/files/gtk-engines-murrine-0.53.1-use-gtk_free.patch
new file mode 100644
index 0000000..7a69c80
--- /dev/null
+++ b/x11-themes/gtk-engines-murrine/files/gtk-engines-murrine-0.53.1-use-gtk_free.patch
@@ -0,0 +1,20 @@
+--- murrine-0.53.1.orig/src/support.c
++++ murrine-0.53.1/src/support.c
+@@ -274,7 +274,7 @@
+ if (tmp_size)
+ {
+ *indicator_size = *tmp_size;
+- g_free (tmp_size);
++ gtk_requisition_free (tmp_size);
+ }
+ else
+ *indicator_size = default_option_indicator_size;
+@@ -282,7 +282,7 @@
+ if (tmp_spacing)
+ {
+ *indicator_spacing = *tmp_spacing;
+- g_free (tmp_spacing);
++ gtk_border_free (tmp_spacing);
+ }
+ else
+ *indicator_spacing = default_option_indicator_spacing;