gsettingsbackend: a minor simplification
authorRyan Lortie <desrt@desrt.ca>
Wed, 26 Feb 2014 22:09:59 +0000 (17:09 -0500)
committerRyan Lortie <desrt@desrt.ca>
Fri, 14 Mar 2014 13:46:39 +0000 (09:46 -0400)
commit698970f1f70f1821df5ac83ffa6d797fa4579881
treec4c571653c2979012f5bc21b3d440ac1b6813185
parent62206576c34d4ea10d43324144db44970c99dd97
gsettingsbackend: a minor simplification

Change the order of the arguments on the (internal) keys_changed callback in
GSettingsListenerVTable.

This means that all functions in the table now fit the following signature:

  void (* f) (GObject             *target,
              GSettingsBackend    *backend,
              const gchar         *name_or_path,
              gpointer             origin_tag,
              const gchar * const *names);

allowing the possibility of arguments ignored at the end.

This allows us to simplify our dispatch-to-thread code in GSettingsBackend,
making it a bit less generic.

So far, this should be a straight refactor.

https://bugzilla.gnome.org/show_bug.cgi?id=710367
gio/gdelayedsettingsbackend.c
gio/gsettings.c
gio/gsettingsbackend.c
gio/gsettingsbackendinternal.h