Neil Roberts
f4ee7dc0e1
clutter-color: Don't directly read the contents of GValue structs
...
The code for implementing ClutterColor as GParamSpec and the
color↔string transformation functions were assuming that ClutterColor
owns the data in the GValue struct and directly reading
data[0].v_pointer to get a pointer to the color. However ClutterColor
is actually a boxed type and the format of the data array is meant to
be internal to GObject so it is not safe to poke around in it
directly. This patch changes it to use g_value_get_boxed to get the
pointer.
Also, boxed types allow a NULL value to be stored and not all of the
code was coping with this. This patch also attempts to fix that.
http://bugzilla.openedhand.com/show_bug.cgi?id=2068
2010-05-05 18:49:09 +01:00
..
2010-05-05 12:24:11 +01:00
2010-03-05 08:48:52 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-05-05 12:00:40 +01:00
2010-03-19 11:13:04 +00:00
2010-03-01 12:56:10 +00:00
2010-04-09 15:43:42 +01:00
2010-05-04 11:04:03 +01:00
2010-04-27 10:12:25 +01:00
2010-03-26 00:46:31 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-05-05 11:32:39 +01:00
2010-05-05 11:32:39 +01:00
2010-05-05 18:24:53 +01:00
2010-03-02 17:03:03 +00:00
2010-03-17 17:40:34 +00:00
2010-02-17 17:46:48 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-04-22 16:39:18 +01:00
2010-03-01 12:56:10 +00:00
2009-11-19 11:51:21 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-04-22 16:39:18 +01:00
2010-03-01 12:56:10 +00:00
2010-02-09 16:58:03 +00:00
2010-03-25 09:41:54 +00:00
2010-03-25 09:41:54 +00:00
2010-03-03 10:47:42 +00:00
2010-03-02 11:12:32 +00:00
2010-04-16 13:19:57 +01:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-05-05 18:49:09 +01:00
2010-05-05 11:31:14 +01:00
2010-03-02 11:12:32 +00:00
2010-05-04 17:01:14 +01:00
2010-02-17 17:46:48 +00:00
2010-03-02 11:12:32 +00:00
2010-04-28 16:19:37 +01:00
2010-02-17 18:21:50 +00:00
2010-03-18 14:15:33 +00:00
2010-02-15 19:03:37 +00:00
2010-02-24 12:25:53 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 15:11:27 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-02-26 11:19:26 +00:00
2010-02-17 18:21:50 +00:00
2010-02-25 10:22:36 +00:00
2010-03-01 12:56:10 +00:00
2010-02-25 10:22:36 +00:00
2009-12-13 01:23:54 +00:00
2009-12-02 11:36:25 +00:00
2010-03-01 12:56:10 +00:00
2010-04-21 11:34:04 +01:00
2009-12-07 19:00:55 +00:00
2010-01-20 00:38:07 +00:00
2010-02-15 12:04:50 +00:00
2010-01-11 13:04:16 +00:00
2010-03-02 11:12:32 +00:00
2010-03-17 17:14:08 +00:00
2010-02-04 21:10:02 +00:00
2010-03-17 17:40:34 +00:00
2010-04-22 17:52:13 +01:00
2010-01-08 20:19:50 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-18 20:20:09 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-02-18 17:01:57 +00:00
2010-03-03 10:49:34 +00:00
2010-03-02 17:19:11 +00:00
2010-03-02 17:19:11 +00:00
2010-03-02 17:19:11 +00:00
2010-02-06 11:23:37 +00:00
2010-04-22 17:54:05 +01:00
2010-02-03 14:38:13 +00:00
2010-04-26 16:27:15 +01:00
2010-03-01 12:56:10 +00:00
2010-02-01 10:40:34 +00:00
2010-03-01 12:56:10 +00:00
2010-03-19 10:29:53 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 12:56:10 +00:00
2010-02-06 10:49:33 +00:00
2010-03-02 11:12:32 +00:00
2010-03-01 12:56:10 +00:00
2010-03-01 15:25:45 +00:00