[gnome-photos] quarks: Add the "mirror" orientations
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] quarks: Add the "mirror" orientations
- Date: Sun, 26 Nov 2017 12:28:35 +0000 (UTC)
commit 505024e81fbf4d6552a22b3459d5e0189d3e202f
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Nov 22 09:00:54 2017 +0100
quarks: Add the "mirror" orientations
https://bugzilla.gnome.org/show_bug.cgi?id=789196
src/photos-quarks.c | 28 ++++++++++++++++++++++++++++
src/photos-quarks.h | 12 ++++++++++++
2 files changed, 40 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-quarks.c b/src/photos-quarks.c
index 6983080..9c1f550 100644
--- a/src/photos-quarks.c
+++ b/src/photos-quarks.c
@@ -46,6 +46,13 @@ photos_quarks_orientation_bottom_quark (void)
GQuark
+photos_quarks_orientation_bottom_mirror_quark (void)
+{
+ return g_quark_from_static_string
("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#orientation-bottom-mirror");
+}
+
+
+GQuark
photos_quarks_orientation_left_quark (void)
{
return g_quark_from_static_string
("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#orientation-left");
@@ -53,6 +60,13 @@ photos_quarks_orientation_left_quark (void)
GQuark
+photos_quarks_orientation_left_mirror_quark (void)
+{
+ return g_quark_from_static_string
("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#orientation-left-mirror");
+}
+
+
+GQuark
photos_quarks_orientation_right_quark (void)
{
return g_quark_from_static_string
("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#orientation-right");
@@ -60,7 +74,21 @@ photos_quarks_orientation_right_quark (void)
GQuark
+photos_quarks_orientation_right_mirror_quark (void)
+{
+ return g_quark_from_static_string
("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#orientation-right-mirror");
+}
+
+
+GQuark
photos_quarks_orientation_top_quark (void)
{
return g_quark_from_static_string
("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#orientation-top");
}
+
+
+GQuark
+photos_quarks_orientation_top_mirror_quark (void)
+{
+ return g_quark_from_static_string
("http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#orientation-top-mirror");
+}
diff --git a/src/photos-quarks.h b/src/photos-quarks.h
index 7386473..fc136a9 100644
--- a/src/photos-quarks.h
+++ b/src/photos-quarks.h
@@ -28,9 +28,13 @@ G_BEGIN_DECLS
#define PHOTOS_FLASH_OFF (photos_quarks_flash_off_quark ())
#define PHOTOS_FLASH_ON (photos_quarks_flash_on_quark ())
#define PHOTOS_ORIENTATION_BOTTOM (photos_quarks_orientation_bottom_quark ())
+#define PHOTOS_ORIENTATION_BOTTOM_MIRROR (photos_quarks_orientation_bottom_mirror_quark ())
#define PHOTOS_ORIENTATION_LEFT (photos_quarks_orientation_left_quark ())
+#define PHOTOS_ORIENTATION_LEFT_MIRROR (photos_quarks_orientation_left_mirror_quark ())
#define PHOTOS_ORIENTATION_RIGHT (photos_quarks_orientation_right_quark ())
+#define PHOTOS_ORIENTATION_RIGHT_MIRROR (photos_quarks_orientation_right_mirror_quark ())
#define PHOTOS_ORIENTATION_TOP (photos_quarks_orientation_top_quark ())
+#define PHOTOS_ORIENTATION_TOP_MIRROR (photos_quarks_orientation_top_mirror_quark ())
GQuark photos_quarks_flash_off_quark (void);
@@ -38,12 +42,20 @@ GQuark photos_quarks_flash_on_quark (void);
GQuark photos_quarks_orientation_bottom_quark (void);
+GQuark photos_quarks_orientation_bottom_mirror_quark (void);
+
GQuark photos_quarks_orientation_left_quark (void);
+GQuark photos_quarks_orientation_left_mirror_quark (void);
+
GQuark photos_quarks_orientation_right_quark (void);
+GQuark photos_quarks_orientation_right_mirror_quark (void);
+
GQuark photos_quarks_orientation_top_quark (void);
+GQuark photos_quarks_orientation_top_mirror_quark (void);
+
G_END_DECLS
#endif /* PHOTOS_QUARKS_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]