diff options
author | David King <amigadave@amigadave.com> | 2015-04-28 08:13:10 +0100 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2015-04-28 08:14:01 +0100 |
commit | 76d67096e5736293d8c4af243f8c2258cd77573a (patch) | |
tree | 6732338b9a53cf9c37557bc5da10f3d4afdaaa55 | |
parent | c32c9fcc5de035e388bec2704c8c754b375a4f40 (diff) |
Silence a gtk-doc undeclared symbol warning
Split the typedef of CheeseVideoFormat out, so that gtk-doc does not
report an undeclared symbol.
-rw-r--r-- | libcheese/cheese-camera-device.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcheese/cheese-camera-device.h b/libcheese/cheese-camera-device.h index 071eb6b2..45904611 100644 --- a/libcheese/cheese-camera-device.h +++ b/libcheese/cheese-camera-device.h @@ -50,12 +50,14 @@ struct _CheeseCameraDevice * A description of the resolution, in pixels, of the format to capture with a * #CheeseCameraDevice. */ -typedef struct +struct _CheeseVideoFormat { /*< public >*/ gint width; gint height; -} CheeseVideoFormat; +}; + +typedef struct _CheeseVideoFormat CheeseVideoFormat; GType cheese_video_format_get_type (void); |