Skip to content

Commit

Permalink
Fix build on old Vala
Browse files Browse the repository at this point in the history
  • Loading branch information
rilian-la-te committed May 3, 2015
1 parent b8a34c6 commit a19a195
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions applets/wnck/xembed/xembed-socket.vala
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ namespace XEmbed
public uint32 uint_window {internal get; internal set construct;}
public int icon_size {get; set; default = 16;}
private string window_name;
public Socket(Gdk.Screen screen, X.Window window)
public Socket(Gdk.Screen screen, uint32 window)
{
Object(uint_window: (uint32)window);
Object(uint_window: window);
this.set_has_window(true);
this.notify["icon-size"].connect(()=>{
this.queue_resize();
Expand All @@ -40,10 +40,10 @@ namespace XEmbed
var moved = alloc.x != prev_alloc.x || alloc.y != prev_alloc.y;
var resized = alloc.width != prev_alloc.width || alloc.height != prev_alloc.height;
if ((moved || resized) && this.get_mapped())
this.get_window().get_parent().invalidate_rect(prev_alloc,false);
this.get_window().get_parent().invalidate_rect((Gdk.Rectangle)prev_alloc,false);
base.size_allocate(alloc);
if ((moved || resized) && this.get_mapped())
this.get_window().get_parent().invalidate_rect(prev_alloc,false);
this.get_window().get_parent().invalidate_rect((Gdk.Rectangle)prev_alloc,false);
}
protected override bool draw(Cairo.Context cr)
{
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
vala-panel (0.3.1.1-1) vivid; urgency=medium

* New upstream release.

-- Konstantin <[email protected]> Sun, 3 May 2015 18:10:43 +0600

vala-panel (0.3.1-1) vivid; urgency=medium

* New upstream release.
Expand Down

0 comments on commit a19a195

Please sign in to comment.