Awn

Update Vala bindings to accommodate Vala 0.5.6

Bug #321802 reported by Marco
4
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Medium
Mark Lee

Bug Description

make[3]: Entering directory `../awn/awn-extras/src/simple-launcher'
/usr/bin/valac --cc="gcc -shared -fPIC -g -O2" -o simple-launcher.so applet.vala --vapidir=/usr/share/vala/vapi --pkg=awn
applet.vala:384.43-384.46: warning: Argument 2: Cannot pass null to non-null parameter type
      effects.start_ex( Effect.LAUNCHING, null, null, 3);
                                          ^^^^
applet.vala:384.49-384.52: warning: Argument 3: Cannot pass null to non-null parameter type
      effects.start_ex( Effect.LAUNCHING, null, null, 3);
                                                ^^^^
applet.vala:214.41-214.44: warning: Argument 2: Cannot pass null to non-null parameter type
    effects.start_ex( Effect.LAUNCHING, null, null, 1);
                                        ^^^^
applet.vala:214.47-214.50: warning: Argument 3: Cannot pass null to non-null parameter type
    effects.start_ex( Effect.LAUNCHING, null, null, 1);
                                              ^^^^
applet.vala:418.33-418.36: warning: Argument 1: Cannot pass null to non-null parameter type
    this.window.set_back_pixmap(null, false);
                                ^^^^
applet.vala:226.3-226.25: warning: method `LauncherApplet._drag_drop' never used
  private bool _drag_drop(Gtk.Widget widget, Gdk.DragContext context, int x, int y, uint time)
  ^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:241.13-241.15: warning: local variable `cmd' declared but never used
    string cmd;
            ^^^
applet.vala:355.10-355.12: warning: local variable `xid' declared but never used
    int xid;
         ^^^
applet.vala:359.10-359.24: warning: local variable `multi_count' declared but never used
    uint multi_count = 0;
         ^^^^^^^^^^^^^^^
applet.vala:423.3-423.28: warning: method `LauncherApplet._leave_notify' never used
  private bool _leave_notify(Gtk.Widget widget, Gdk.EventCrossing event)
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
applet.vala:430.3-430.28: warning: method `LauncherApplet._enter_notify' never used
  private bool _enter_notify(Gtk.Widget widget, Gdk.EventCrossing event)
  ^^^^^^^^^^^^^^^^^^^^^^^^^^
awn.vapi:342.23-342.26: error: unowned return value for getter of property `Awn.Applet.uid' not supported without accessor
  public string uid { get; set construct; }
                      ^^^^
Compilation failed: 1 error(s), 11 warning(s)
make[3]: *** [simple-launcher.so] Error 1

Tags: bindings vala

Related branches

Revision history for this message
Mark Lee (malept) wrote :

This is actually a problem with the Awn bindings (it was generated with an early version of Vala). Moving bug report to Awn.

Changed in awn-extras:
assignee: nobody → malept
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Mark Lee (malept) wrote :

Fixed in Awn trunk revision 539 (and to a lesser extent, Awn Extras trunk revision 1017).

Changed in awn:
milestone: none → 0.3.2
status: In Progress → Fix Committed
moonbeam (rcryderman)
Changed in awn:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.