[cheese] Silence a gtk-doc undeclared symbol warning
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Silence a gtk-doc undeclared symbol warning
- Date: Tue, 28 Apr 2015 07:17:34 +0000 (UTC)
commit 76d67096e5736293d8c4af243f8c2258cd77573a
Author: David King <amigadave amigadave com>
Date: Tue Apr 28 08:13:10 2015 +0100
Silence a gtk-doc undeclared symbol warning
Split the typedef of CheeseVideoFormat out, so that gtk-doc does not
report an undeclared symbol.
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 071eb6b..4590461 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]