[frogr] Install PROP_LICENSE in FrogrPicture (code removed by mistake)



commit 862dd16bbbbe2100e58d3d289d04d776d4275f52
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Thu Aug 25 22:44:11 2011 +0200

    Install PROP_LICENSE in FrogrPicture (code removed by mistake)

 src/frogr-picture.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/frogr-picture.c b/src/frogr-picture.c
index 75dac22..16cb2ce 100644
--- a/src/frogr-picture.c
+++ b/src/frogr-picture.c
@@ -469,6 +469,15 @@ frogr_picture_class_init(FrogrPictureClass *klass)
                                                      FSP_CONTENT_TYPE_PHOTO,
                                                      G_PARAM_READWRITE));
   g_object_class_install_property (obj_class,
+                                   PROP_LICENSE,
+                                   g_param_spec_int ("license",
+                                                     "license",
+                                                     "License for this picture",
+                                                     FSP_LICENSE_NONE,
+                                                     FSP_LICENSE_ND,
+                                                     FSP_LICENSE_NONE,
+                                                     G_PARAM_READWRITE));
+  g_object_class_install_property (obj_class,
                                    PROP_LOCATION,
                                    g_param_spec_pointer ("location",
                                                          "location",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]