summaryrefslogtreecommitdiff
path: root/gcr/gcr-certificate.c
diff options
context:
space:
mode:
authorStef Walter <stefw@collabora.co.uk>2011-10-13 09:50:24 +0200
committerStef Walter <stefw@collabora.co.uk>2011-10-13 09:50:24 +0200
commit7075ac649738fb977671022388833f99396d1261 (patch)
treeb3e4d9366e59077dde98c3e46fc95ef20d829786 /gcr/gcr-certificate.c
parent119d3232310824ad7ed3a72c6e77fce3bf30f5fa (diff)
downloadgcr-7075ac649738fb977671022388833f99396d1261.tar.gz
gcr: Function to emit notify on GcrCertificate props for data change
Diffstat (limited to 'gcr/gcr-certificate.c')
-rw-r--r--gcr/gcr-certificate.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gcr/gcr-certificate.c b/gcr/gcr-certificate.c
index 945d198..5dd16ab 100644
--- a/gcr/gcr-certificate.c
+++ b/gcr/gcr-certificate.c
@@ -960,6 +960,21 @@ gcr_certificate_get_icon (GcrCertificate *self)
* </programlisting></informalexample>
*/
+void
+gcr_certificate_mixin_emit_notify (GcrCertificate *self)
+{
+ GObject *obj;
+
+ g_return_if_fail (GCR_IS_CERTIFICATE (self));
+
+ obj = G_OBJECT (self);
+ g_object_notify (obj, "label");
+ g_object_notify (obj, "markup");
+ g_object_notify (obj, "subject");
+ g_object_notify (obj, "issuer");
+ g_object_notify (obj, "expiry");
+}
+
/**
* gcr_certificate_mixin_comparable_init: (skip)
* @iface: The interface