Ryan Lortie c8fb6f8187 g_settings_bind: use canonical property name
We were using the user-passed value of the @property argument for
several purposes in g_settings_bind(): error messages, binding
uniqueness (ie: one-binding-per-property-per-object) and most
importantly, connecting to the detailed notify:: signal.

The user may pass a string like "property_name" when the property's
canonical name is "property-name".  g_object_class_find_property() will
find the property under these circumstances, but a connection to
"notify::property_name" will not notice notifies emitted for
"property-name".

We can solve this by using the user's string to perform the lookup and
then using pspec->name for everything after that.

https://bugzilla.gnome.org/show_bug.cgi?id=684882
2012-10-15 20:25:39 -04:00
..
2012-03-05 06:18:24 -05:00
2012-08-16 22:17:46 -04:00
2011-06-04 10:45:54 -04:00
2009-03-31 19:39:16 -04:00
2012-02-02 16:22:42 +01:00
2012-09-23 02:18:56 -04:00
2012-09-23 02:18:56 -04:00
2010-07-12 18:30:14 -04:00
2012-07-03 21:14:41 -04:00
2012-07-03 21:13:32 -04:00
2010-03-26 09:30:25 -04:00
2010-07-12 18:30:14 -04:00
2010-07-12 18:30:14 -04:00
2010-07-12 18:30:14 -04:00
2012-04-30 09:28:42 -04:00
2012-08-18 23:15:58 -04:00
2012-09-23 02:18:56 -04:00
2010-07-07 19:53:22 -04:00
2012-09-23 02:18:56 -04:00
2012-07-30 05:01:06 -04:00
2012-03-27 12:45:27 -04:00
2012-08-16 23:02:41 -04:00
2012-01-01 19:01:14 +01:00
2012-04-19 10:06:26 +02:00
2011-06-07 08:55:31 +08:00
2012-09-19 10:32:05 +08:00
2012-08-18 23:15:58 -04:00
2011-08-29 14:49:32 -04:00
2012-04-19 10:06:26 +02:00
2012-09-30 19:24:13 -04:00
2012-09-19 10:32:05 +08:00
2010-07-07 19:53:22 -04:00
2011-02-08 10:05:00 -05:00
2012-09-23 02:18:56 -04:00
2011-12-08 18:05:12 -05:00
2011-12-10 21:46:39 -05:00
2011-02-08 10:05:00 -05:00
2012-08-19 02:19:27 -04:00
2010-06-04 19:03:38 +02:00
2012-08-19 02:21:02 -04:00
2012-08-19 02:21:02 -04:00
2011-06-04 18:48:19 -04:00
2012-08-18 23:15:58 -04:00
2012-06-23 17:59:37 -04:00
2012-01-13 17:12:57 +01:00
2011-01-09 21:45:20 +01:00
2011-08-29 14:49:32 -04:00
2010-04-16 23:23:40 -04:00
2011-12-08 18:05:14 -05:00
2012-08-16 23:02:41 -04:00
2012-08-16 23:02:41 -04:00
2012-08-16 23:02:41 -04:00
2011-10-16 21:41:15 -04:00
2012-09-23 20:14:27 -04:00
2012-04-19 10:06:26 +02:00
2011-10-02 22:33:10 -04:00
2011-06-14 18:51:57 -04:00
2011-05-05 14:09:11 -04:00
2012-09-23 02:18:56 -04:00
2009-07-05 22:35:55 -04:00
2012-07-03 21:14:41 -04:00
2012-09-09 10:49:45 -04:00
2012-08-18 23:15:58 -04:00
2010-07-07 19:53:22 -04:00