Updating branch refs/heads/master
         to baef12168ff7fe39265aa28aa3e96fd3014e2e18 (commit)
       from f9c3be1dda6ddf8cc7fda0bb87b3d839505338c2 (commit)

commit baef12168ff7fe39265aa28aa3e96fd3014e2e18
Author: Vincent Legout <[email protected]>
Date:   Fri Jan 22 16:10:09 2010 +0800

    Fix build with new version of vala

 src/interface.vala |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/interface.vala b/src/interface.vala
index 09d2c60..97ac696 100644
--- a/src/interface.vala
+++ b/src/interface.vala
@@ -70,15 +70,15 @@ namespace Xfmpc {
 
                        /* Title */
                        var attrs = new Pango.AttrList ();
-                       unowned Pango.Attribute attr = Pango.attr_weight_new 
(Pango.Weight.BOLD);
+                       var attr = Pango.attr_weight_new (Pango.Weight.BOLD);
                        attr.start_index = 0;
                        attr.end_index = -1;
-                       attrs.insert (attr);
+                       attrs.insert (attr.copy ());
 
                        attr = Pango.attr_scale_new ((double) 
Pango.Scale.X_LARGE);
                        attr.start_index = 0;
                        attr.end_index = -1;
-                       attrs.insert (attr);
+                       attrs.insert (attr.copy ());
 
                        title = new Gtk.Label (_("Not connected"));
                        title.set_attributes (attrs);
@@ -91,7 +91,7 @@ namespace Xfmpc {
                        attr = Pango.attr_scale_new ((double) 
Pango.Scale.SMALL);
                        attr.start_index = 0;
                        attr.end_index = -1;
-                       attrs.insert (attr);
+                       attrs.insert (attr.copy ());
 
                        this.subtitle = new Gtk.Label (Config.PACKAGE_STRING);
                        this.subtitle.set_attributes (attrs);
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to