summaryrefslogtreecommitdiffstats
path: root/x11/gtkchtheme/files/patch-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gtkchtheme/files/patch-util.c')
-rw-r--r--x11/gtkchtheme/files/patch-util.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/gtkchtheme/files/patch-util.c b/x11/gtkchtheme/files/patch-util.c
new file mode 100644
index 0000000..53f8934
--- /dev/null
+++ b/x11/gtkchtheme/files/patch-util.c
@@ -0,0 +1,15 @@
+--- util.c.orig Wed Jun 23 11:31:52 2004
++++ util.c Wed Jun 23 11:32:20 2004
+@@ -34,10 +34,11 @@
+ {
+ PangoAttrList *attrs;
+ gchar* parsed_text;
++ GtkLabel* label;
+
+ pango_parse_markup(markup_text, -1, 0, &attrs, &parsed_text, NULL, NULL);
+
+- GtkLabel* label = GTK_LABEL(gtk_label_new(parsed_text));
++ label = GTK_LABEL(gtk_label_new(parsed_text));
+ gtk_label_set_attributes(label, attrs);
+ gtk_label_set_line_wrap(label, TRUE);
+ gtk_label_set_justify(label, jtype);
OpenPOWER on IntegriCloud