summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-10-05 10:26:09 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-10-05 10:37:21 +0200
commit02d821b1bc9a9a65ecf63f48aca30c0351231e96 (patch)
tree172fceafeffbd3d711bb9862682da77a57a37073 /vapi
parent059b7486bff5f1b01b8c19fca06494a7936a24d9 (diff)
downloadvala-02d821b1bc9a9a65ecf63f48aca30c0351231e96.tar.gz
xcb: Fix "missing return statement at end of subroutine body" errors
Diffstat (limited to 'vapi')
-rw-r--r--vapi/xcb.vapi16
1 files changed, 8 insertions, 8 deletions
diff --git a/vapi/xcb.vapi b/vapi/xcb.vapi
index d92207000..770895a81 100644
--- a/vapi/xcb.vapi
+++ b/vapi/xcb.vapi
@@ -371,13 +371,13 @@ namespace Xcb {
private VoidCookie vala_image_text_8_checked (uint8 string_len, Drawable drawable, GContext gc, int16 x, int16 y, string text);
[CCode (cname = "vala_xcb_image_text8_checked")]
public VoidCookie image_text_8_checked (Drawable drawable, GContext gc, int16 x, int16 y, string text) {
- this.vala_image_text_8_checked ((uint8) text.length, drawable, gc, x, y, text);
+ return this.vala_image_text_8_checked ((uint8) text.length, drawable, gc, x, y, text);
}
[CCode (cname = "xcb_image_text_8")]
private VoidCookie vala_image_text_8 (uint8 string_len, Drawable drawable, GContext gc, int16 x, int16 y, string text);
[CCode (cname = "vala_xcb_image_text8")]
public VoidCookie image_text_8 (Drawable drawable, GContext gc, int16 x, int16 y, string text) {
- this.vala_image_text_8 ((uint8) text.length, drawable, gc, x, y, text);
+ return this.vala_image_text_8 ((uint8) text.length, drawable, gc, x, y, text);
}
//image_text_16
@@ -409,13 +409,13 @@ namespace Xcb {
private AllocNamedColorCookie vala_alloc_named_color (Colormap cmap, uint16 name_len, string name);
[CCode (cname = "vala_xcb_alloc_named_color")]
public AllocNamedColorCookie alloc_named_color (Colormap cmap, string name) {
- this.vala_alloc_named_color (cmap, (uint16) name.length, name);
+ return this.vala_alloc_named_color (cmap, (uint16) name.length, name);
}
[CCode (cname = "xcb_alloc_named_color_unchecked")]
private AllocNamedColorCookie vala_alloc_named_color_unchecked (Colormap cmap, uint16 name_len, string name);
[CCode (cname = "vala_xcb_alloc_named_color_unchecked")]
public AllocNamedColorCookie alloc_named_color_unchecked (Colormap cmap, string name) {
- this.vala_alloc_named_color_unchecked (cmap, (uint16) name.length, name);
+ return this.vala_alloc_named_color_unchecked (cmap, (uint16) name.length, name);
}
public AllocNamedColorReply? alloc_named_color_reply (AllocNamedColorCookie cookie, out GenericError? e = null);
@@ -437,13 +437,13 @@ namespace Xcb {
private VoidCookie vala_store_named_color_checked (ColorFlag flags, Colormap cmap, uint32 pixel, uint16 name_len, string name);
[CCode (cname = "vala_xcb_store_named_color_checked")]
public VoidCookie store_named_color_checked (ColorFlag flags, Colormap cmap, uint32 pixel, string name) {
- this.vala_store_named_color_checked (flags, cmap, pixel, (uint16) name.length, name);
+ return this.vala_store_named_color_checked (flags, cmap, pixel, (uint16) name.length, name);
}
[CCode (cname = "xcb_store_named_color")]
private VoidCookie vala_store_named_color (ColorFlag flags, Colormap cmap, uint32 pixel, uint16 name_len, string name);
[CCode (cname = "vala_xcb_store_named_color")]
public VoidCookie store_named_color (ColorFlag flags, Colormap cmap, uint32 pixel, string name) {
- this.vala_store_named_color (flags, cmap, pixel, (uint16) name.length, name);
+ return this.vala_store_named_color (flags, cmap, pixel, (uint16) name.length, name);
}
public QueryColorsCookie query_colors (Colormap cmap, [CCode (array_length_pos = 1.9, array_length_type = "uint32_t")] uint32[] pixels);
@@ -454,13 +454,13 @@ namespace Xcb {
private LookupColorCookie vala_lookup_color (Colormap cmap, uint16 name_len, string name);
[CCode (cname = "vala_xcb_lookup_color")]
public LookupColorCookie lookup_color (Colormap cmap, string name) {
- this.vala_lookup_color (cmap, (uint16) name.length, name);
+ return this.vala_lookup_color (cmap, (uint16) name.length, name);
}
[CCode (cname = "xcb_lookup_color_unchecked")]
private LookupColorCookie vala_lookup_color_unchecked (Colormap cmap, uint16 name_len, string name);
[CCode (cname = "vala_xcb_lookup_color_unchecked")]
public LookupColorCookie lookup_color_unchecked (Colormap cmap, string name) {
- this.vala_lookup_color_unchecked (cmap, (uint16) name.length, name);
+ return this.vala_lookup_color_unchecked (cmap, (uint16) name.length, name);
}
public LookupColorReply? lookup_color_reply (LookupColorCookie cookie, out GenericError? e = null);