[cheese] Fix a misplaced const
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Fix a misplaced const
- Date: Fri, 3 May 2019 18:56:21 +0000 (UTC)
commit d27ab7a04bc228f211c4aa9170ebdfff8f127a8f
Author: David King <amigadave amigadave com>
Date: Fri May 3 19:54:58 2019 +0100
Fix a misplaced const
libcheese/cheese-camera-device.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libcheese/cheese-camera-device.c b/libcheese/cheese-camera-device.c
index 942fa468..be85b2c5 100644
--- a/libcheese/cheese-camera-device.c
+++ b/libcheese/cheese-camera-device.c
@@ -69,7 +69,7 @@ enum CheeseCameraDeviceError
GST_DEBUG_CATEGORY (cheese_camera_device_cat);
#define GST_CAT_DEFAULT cheese_camera_device_cat
-static const gchar const *supported_formats[] = {
+static const gchar * const supported_formats[] = {
"video/x-raw",
NULL
};
@@ -177,7 +177,7 @@ compare_formats (gconstpointer a, gconstpointer b)
static GstCaps *
cheese_camera_device_filter_caps (CheeseCameraDevice *device,
GstCaps *caps,
- const gchar const *formats[])
+ const gchar * const formats[])
{
GstCaps *filter;
GstCaps *allowed;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]