summaryrefslogtreecommitdiff
path: root/packages/libmimedir/files
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2006-08-07 14:33:48 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2006-08-07 14:33:48 +0000
commitf28df7b37210dbf4d9bc7aa1baebd0f3ef1c769b (patch)
tree88ecca9ad5afa5b13f30cd330845583426d46e3f /packages/libmimedir/files
parent298dd441a0efb859be6fc0da4b3ae069e3b1de3f (diff)
libmimedir: Add patch to allow writing the sequence property.
Diffstat (limited to 'packages/libmimedir/files')
-rw-r--r--packages/libmimedir/files/mimedir-write-sequence.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/packages/libmimedir/files/mimedir-write-sequence.patch b/packages/libmimedir/files/mimedir-write-sequence.patch
new file mode 100644
index 0000000000..b03c5d9ca7
--- /dev/null
+++ b/packages/libmimedir/files/mimedir-write-sequence.patch
@@ -0,0 +1,51 @@
+? mimedir/.deps
+? mimedir/.libs
+? mimedir/libmimedir.la
+? mimedir/mimedir-attachment.lo
+? mimedir/mimedir-attendee.lo
+? mimedir/mimedir-attribute.lo
+? mimedir/mimedir-datetime.lo
+? mimedir/mimedir-init.lo
+? mimedir/mimedir-marshal.lo
+? mimedir/mimedir-period.lo
+? mimedir/mimedir-profile.lo
+? mimedir/mimedir-recurrence.lo
+? mimedir/mimedir-utils.lo
+? mimedir/mimedir-valarm.lo
+? mimedir/mimedir-vcal.lo
+? mimedir/mimedir-vcard-address.lo
+? mimedir/mimedir-vcard-email.lo
+? mimedir/mimedir-vcard-phone.lo
+? mimedir/mimedir-vcard.lo
+? mimedir/mimedir-vcomponent.lo
+? mimedir/mimedir-vevent.lo
+? mimedir/mimedir-vfreebusy.lo
+? mimedir/mimedir-vjournal.lo
+? mimedir/mimedir-vtimezone.lo
+? mimedir/mimedir-vtodo.lo
+Index: mimedir/mimedir-vcomponent.c
+===================================================================
+RCS file: /cvs/gnome/libmimedir/mimedir/mimedir-vcomponent.c,v
+retrieving revision 1.28
+diff -B -b -u -r1.28 mimedir-vcomponent.c
+--- mimedir/mimedir-vcomponent.c 26 Nov 2005 15:40:20 -0000 1.28
++++ mimedir/mimedir-vcomponent.c 7 Aug 2006 12:20:01 -0000
+@@ -456,7 +456,7 @@
+ _("Sequence"),
+ _("Sequence number"),
+ 0, G_MAXINT, 0,
+- G_PARAM_READABLE);
++ G_PARAM_READWRITE);
+ g_object_class_install_property (gobject_class, PROP_SEQ, pspec);
+ }
+
+@@ -684,6 +684,9 @@
+ g_object_ref (G_OBJECT (priv->last_modified));
+ break;
+ }
++ case PROP_SEQ:
++ priv->sequence = g_value_get_uint (value);
++ break;
+
+ default:
+ G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);