diff options
author | Julian Sparber <julian@sparber.net> | 2019-07-09 10:27:39 +0200 |
---|---|---|
committer | Julian Sparber <julian@sparber.net> | 2019-07-29 19:42:49 +0200 |
commit | 8bcb75001ad5c8b0be1ae200fc1b77e198b5155c (patch) | |
tree | eb1c96b9d766bd1911cd00a58ce5089088952e8c /vapi | |
parent | 19ad1fe584d2e10f6bc7ef8479529e02c4284089 (diff) | |
download | gnome-contacts-8bcb75001ad5c8b0be1ae200fc1b77e198b5155c.tar.gz |
AvatarDialog: fix #138 crash when taking a webcam picture
Since get cheese_widget_get_camera () and get_video_area () are not
defined static they are are exported but we don't have the function
signature, therefore this adds the header file with the function
signatures.
Diffstat (limited to 'vapi')
-rw-r--r-- | vapi/cheese.vapi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vapi/cheese.vapi b/vapi/cheese.vapi index 46f95de..1faa347 100644 --- a/vapi/cheese.vapi +++ b/vapi/cheese.vapi @@ -24,12 +24,13 @@ namespace Cheese { READY, ERROR } - [CCode (cheader_filename = "cheese/cheese-widget.h")] + [CCode (cheader_filename = "cheese-widget.h")] public class Widget : Gtk.Widget { [CCode (has_construct_function = false, type = "CheeseWidget*")] public Widget (); public WidgetState state { get; } - public unowned GLib.Object get_camera (); + public unowned GLib.Object get_camera (); + public unowned Gtk.Widget get_video_area (); } [CCode (cheader_filename = "cheese/cheese-camera.h")] public class Camera : GLib.Object { |