[evince] ev-annotation: fix rgba property id



commit 9aeb5f796fb8f82ca32a449a43738608187bfcad
Author: Jason Crain <jason inspiresomeone us>
Date:   Fri Feb 14 04:26:31 2020 -0700

    ev-annotation: fix rgba property id
    
    The "rgba" property is installed with the wrong property ID, so trying
    to set this property fails with a GValue warning.

 libdocument/ev-annotation.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c
index 0feb845c..058a999b 100644
--- a/libdocument/ev-annotation.c
+++ b/libdocument/ev-annotation.c
@@ -313,7 +313,7 @@ ev_annotation_class_init (EvAnnotationClass *klass)
          * Since: 3.6
          */
         g_object_class_install_property (g_object_class,
-                                         PROP_ANNOT_COLOR,
+                                         PROP_ANNOT_RGBA,
                                          g_param_spec_boxed ("rgba", NULL, NULL,
                                                              GDK_TYPE_RGBA,
                                                              G_PARAM_READWRITE |


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