platform/upstream/glib.git
14 years agoTrivia
Matthias Clasen [Mon, 10 May 2010 12:07:07 +0000 (08:07 -0400)]
Trivia

14 years agoCosmetic fixes
Matthias Clasen [Mon, 10 May 2010 02:13:18 +0000 (22:13 -0400)]
Cosmetic fixes

Use P_() for properties, fix up indentation, etc.

14 years agoUpdate copyright years to include 2010
Matthias Clasen [Sun, 9 May 2010 17:14:55 +0000 (13:14 -0400)]
Update copyright years to include 2010

14 years agoMicrooptimize string reallocations
Matthias Clasen [Sun, 9 May 2010 17:09:54 +0000 (13:09 -0400)]
Microoptimize string reallocations

14 years agoMove some platform sources around
Matthias Clasen [Sun, 9 May 2010 16:41:02 +0000 (12:41 -0400)]
Move some platform sources around

gunixcredentialsmessage.h ought to live with other UNIX headers,
and the credentials are moved from dbus-specific to just GIO sources.
Also move gfiledescriptorbased.c to the UNIX sources.

14 years agoMention multithreading as a reason for not using libdbus
Matthias Clasen [Sun, 9 May 2010 16:24:56 +0000 (12:24 -0400)]
Mention multithreading as a reason for not using libdbus

14 years agoGDBus: Rework GCredentials type
David Zeuthen [Sun, 9 May 2010 14:02:56 +0000 (10:02 -0400)]
GDBus: Rework GCredentials type

These changes are is related to

 https://bugzilla.gnome.org/show_bug.cgi?id=617483

and IRC discussions with danw.

14 years agoAdd some conceptual changes
Matthias Clasen [Sun, 9 May 2010 06:27:09 +0000 (02:27 -0400)]
Add some conceptual changes

14 years agoSome documentation tweaks
Matthias Clasen [Sun, 9 May 2010 05:44:11 +0000 (01:44 -0400)]
Some documentation tweaks

Add links to the D-Bus docs in some places, and various
other additions.

14 years agoDocument length parameter of g_settings_get/set_strv
Matthias Clasen [Sun, 9 May 2010 00:10:57 +0000 (20:10 -0400)]
Document length parameter of g_settings_get/set_strv

This parameter was not mentioned in the doc comment, as pointed
out in bug 617767.

14 years agoGDBus: add TODO item about maybe having to rework ::g-properties-changed
David Zeuthen [Fri, 7 May 2010 19:02:37 +0000 (15:02 -0400)]
GDBus: add TODO item about maybe having to rework ::g-properties-changed

14 years agoGDBus: add TODO item about the need to rewrite private GDBusAuth* classes
David Zeuthen [Fri, 7 May 2010 18:57:20 +0000 (14:57 -0400)]
GDBus: add TODO item about the need to rewrite private GDBusAuth* classes

14 years agoAdd TODO item about wanting G_DBUS_NONCE_TCP_TMPDIR
David Zeuthen [Fri, 7 May 2010 18:56:01 +0000 (14:56 -0400)]
Add TODO item about wanting G_DBUS_NONCE_TCP_TMPDIR

14 years agoGDBus: Document environment variables in "Running GIO applications"
David Zeuthen [Fri, 7 May 2010 18:36:07 +0000 (14:36 -0400)]
GDBus: Document environment variables in "Running GIO applications"

14 years agoA quick cheat sheet
Matthias Clasen [Fri, 7 May 2010 00:54:04 +0000 (20:54 -0400)]
A quick cheat sheet

14 years agoGDBus: add a man page for gdbus(1)
David Zeuthen [Thu, 6 May 2010 23:39:16 +0000 (19:39 -0400)]
GDBus: add a man page for gdbus(1)

14 years agoMention D-Bus functionality in the overview
Matthias Clasen [Thu, 6 May 2010 22:15:00 +0000 (18:15 -0400)]
Mention D-Bus functionality in the overview

14 years agoAdd a migration chapter for dbus bits
Matthias Clasen [Thu, 6 May 2010 21:52:54 +0000 (17:52 -0400)]
Add a migration chapter for dbus bits

Also split migration.xml into separate files per chapter, it was
getting unwieldy.

14 years agoGDBus: Add more symbols to pltcheck.sh's SKIP variable
David Zeuthen [Thu, 6 May 2010 21:41:31 +0000 (17:41 -0400)]
GDBus: Add more symbols to pltcheck.sh's SKIP variable

In particular, add these symbols

 g_memdup
 g_print
 g_random_int
 g_propagate_prefixed_e
 g_thread_create_full
 g_int_hash
 g_file_open_tmp
 g_thread_self
 g_usleep

14 years agoGDBus: Add new symbols to gio.symbols
David Zeuthen [Thu, 6 May 2010 21:31:51 +0000 (17:31 -0400)]
GDBus: Add new symbols to gio.symbols

14 years agoGDBus: Fix up i18n
David Zeuthen [Thu, 6 May 2010 20:34:23 +0000 (16:34 -0400)]
GDBus: Fix up i18n

14 years agoAdd "Since: 2.26" to all new GDBus API
David Zeuthen [Thu, 6 May 2010 20:02:08 +0000 (16:02 -0400)]
Add "Since: 2.26" to all new GDBus API

14 years agoSet up gtk-doc for GDBus
David Zeuthen [Thu, 6 May 2010 19:31:45 +0000 (15:31 -0400)]
Set up gtk-doc for GDBus

Also move send_credentials() and receive_credentials() to
GUnixConnection. This code might change, discussion is still ongoing
in

 https://bugzilla.gnome.org/show_bug.cgi?id=617483.

14 years agoInitial GDBus code-drop from GDBus-standalone repo
David Zeuthen [Thu, 6 May 2010 18:13:59 +0000 (14:13 -0400)]
Initial GDBus code-drop from GDBus-standalone repo

Things compile and the test-suite passes. Still need to hook up
gio.symbols and docs. There are still a bunch of TODOs left in the
sources that needs to be addressed.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoClean Glib header #include issues: gthread
Javier Jardón [Thu, 6 May 2010 04:28:54 +0000 (06:28 +0200)]
Clean Glib header #include issues: gthread

14 years agoClean Glib header #include issues: gmem
Javier Jardón [Wed, 5 May 2010 16:32:03 +0000 (18:32 +0200)]
Clean Glib header #include issues: gmem

14 years agoClean Glib header #include issues: gtestutils
Javier Jardón [Wed, 5 May 2010 16:24:33 +0000 (18:24 +0200)]
Clean Glib header #include issues: gtestutils

14 years agoClean Glib header #include issues: gasyncqueue
Javier Jardón [Wed, 5 May 2010 16:12:04 +0000 (18:12 +0200)]
Clean Glib header #include issues: gasyncqueue

14 years agoDo not include "glib.h" in gio files
Javier Jardón [Wed, 5 May 2010 15:32:12 +0000 (17:32 +0200)]
Do not include "glib.h" in gio files

14 years agoMinor updates to README.win32.
Tor Lillqvist [Wed, 5 May 2010 06:43:30 +0000 (09:43 +0300)]
Minor updates to README.win32.

14 years agoFix typo in limits documentation
Xan Lopez [Tue, 4 May 2010 16:09:01 +0000 (18:09 +0200)]
Fix typo in limits documentation

14 years agogio: Add a boxed type for GFileAttributeMatcher
Torsten Schönfeld [Mon, 26 Apr 2010 21:38:41 +0000 (23:38 +0200)]
gio: Add a boxed type for GFileAttributeMatcher

https://bugzilla.gnome.org/show_bug.cgi?id=616892

14 years agoFix list of sources in the gio Visual Studio project
Tor Lillqvist [Mon, 3 May 2010 16:56:46 +0000 (19:56 +0300)]
Fix list of sources in the gio Visual Studio project

List the additional sources needed in gio/Makefile.am, not in
gio.vcprojin. Fix broken usage of sort. Filter out Unix-only source
files.

14 years agoFix misspelled identifier in the Win32 code
Tor Lillqvist [Mon, 3 May 2010 16:24:35 +0000 (19:24 +0300)]
Fix misspelled identifier in the Win32 code

14 years agog_cancellable_release_fd: allow NULL cancellable
Dan Winship [Mon, 26 Apr 2010 02:54:12 +0000 (22:54 -0400)]
g_cancellable_release_fd: allow NULL cancellable

Almost all GCancellable methods silently do nothing if passed NULL for
the cancellable. Make g_cancellable_release_fd() do that as well.

14 years agoGSettings: fix mixed use of a pointer
Ryan Lortie [Sun, 2 May 2010 19:14:30 +0000 (14:14 -0500)]
GSettings: fix mixed use of a pointer

  - used in some places as a move-along-as-we-go pointer
  - used in other places as a pointer to the fixed base of an array

Switch all users to the first style to avoid a crasher.

14 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 1 May 2010 12:25:22 +0000 (14:25 +0200)]
Updated Norwegian bokmål translation

14 years agoAdd API to get the compile and match flags from a GRegex
Christian Persch [Wed, 28 Apr 2010 10:36:30 +0000 (12:36 +0200)]
Add API to get the compile and match flags from a GRegex

Bug #616967.

14 years ago[gvariant-varargs.xml] Fix some outdated documentation
Shaun McCance [Fri, 30 Apr 2010 00:27:56 +0000 (19:27 -0500)]
[gvariant-varargs.xml] Fix some outdated documentation

14 years agoGSettingsBackend API/ABI change
Ryan Lortie [Mon, 26 Apr 2010 03:00:28 +0000 (22:00 -0500)]
GSettingsBackend API/ABI change

  - add list() virtual method
  - add 'default_value' flag to read() call

14 years ago.gitignore updates for gsettings stuff
Dan Winship [Tue, 27 Apr 2010 13:25:45 +0000 (09:25 -0400)]
.gitignore updates for gsettings stuff

14 years agoUpdated Spanish translation
Jorge González [Tue, 27 Apr 2010 19:05:13 +0000 (21:05 +0200)]
Updated Spanish translation

14 years agoUpdated Spanish translation
Jorge González [Tue, 27 Apr 2010 18:59:07 +0000 (20:59 +0200)]
Updated Spanish translation

14 years agoGSocket: fix garbled error messages on windows
Dan Winship [Mon, 12 Apr 2010 14:21:20 +0000 (10:21 -0400)]
GSocket: fix garbled error messages on windows

socket_strerror() was assuming all "strerror" messages are shorter
than 128 bytes, which is certainly true on Linux, but apparently not
on Windows.

https://bugzilla.gnome.org/show_bug.cgi?id=615494

14 years agoAllocate quarks in chunks to avoid overhead and fragmentation
Alexander Larsson [Tue, 27 Apr 2010 07:23:07 +0000 (09:23 +0200)]
Allocate quarks in chunks to avoid overhead and fragmentation

See bug 616720 for some measurements.

14 years agoBug 616877 – Several issues with g_socket_receive_message
David Zeuthen [Mon, 26 Apr 2010 20:37:02 +0000 (16:37 -0400)]
Bug 616877 – Several issues with g_socket_receive_message

The messages array was not reallocated correctly because it was using
malloc instead of realloc. Also, if the user requested messages but
none were received we would segfault. Rewrite the code to fix this
and, for better readability, use GPtrArray instead of rolling our own.

Also make the docs mention that the user need to free the returned
GSocketControlMessage objects using g_object_unref().

Clarify that *messages may be set to %NULL if there are no messages
(this will save pointless allocs of arrays).

Finally, the Win32 version didn't set messages to the expected value.

https://bugzilla.gnome.org/show_bug.cgi?id=616877

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agodocs and glib.symbols update
Ryan Lortie [Mon, 26 Apr 2010 01:08:59 +0000 (20:08 -0500)]
docs and glib.symbols update

14 years agoAdd testcases for <range> and <choices>
Christian Persch [Mon, 26 Apr 2010 01:07:26 +0000 (20:07 -0500)]
Add testcases for <range> and <choices>

Bug #616102.

14 years agoAdd range restriction to gschema-compiler
Ryan Lortie [Mon, 26 Apr 2010 00:59:59 +0000 (19:59 -0500)]
Add range restriction to gschema-compiler

Patch from Christian Persch, with minor modifications.

Bug #616102

14 years agoGVariant: add bind map for strings to byte arrays
Ryan Lortie [Mon, 26 Apr 2010 00:10:44 +0000 (19:10 -0500)]
GVariant: add bind map for strings to byte arrays

14 years agoAdd g_variant_{new,get}_byte_array()
Ryan Lortie [Mon, 26 Apr 2010 00:09:35 +0000 (19:09 -0500)]
Add g_variant_{new,get}_byte_array()

Now that strings are strictly utf8 this provides a convenient API for
storing non-utf8 string data.

14 years agoMake glib_compile_schemas point to a binary that exists
Shaun McCance [Sat, 24 Apr 2010 02:08:27 +0000 (21:08 -0500)]
Make glib_compile_schemas point to a binary that exists

14 years agoGVariant: strings are now utf8
Ryan Lortie [Sun, 25 Apr 2010 18:36:36 +0000 (13:36 -0500)]
GVariant: strings are now utf8

 - modify serialiser validation function to enforce utf8 encoding
 - add documentation to g_variant_new_string(), g_variant_get_string(),
   g_variant_dup_string()
 - add 2 new test cases to check that it works

14 years agoCan't use stderr as a field name
Tor Lillqvist [Sun, 25 Apr 2010 14:26:41 +0000 (17:26 +0300)]
Can't use stderr as a field name

14 years agoUpdated Galician translation
Fran Diéguez [Sat, 24 Apr 2010 01:46:59 +0000 (03:46 +0200)]
Updated Galician translation

14 years agobump version
Matthias Clasen [Sat, 24 Apr 2010 00:50:27 +0000 (20:50 -0400)]
bump version

14 years ago2.25.3 2.25.3
Matthias Clasen [Sat, 24 Apr 2010 00:49:02 +0000 (20:49 -0400)]
2.25.3

14 years agoRename in more places
Matthias Clasen [Fri, 23 Apr 2010 23:57:14 +0000 (19:57 -0400)]
Rename in more places

14 years agoUpdates
Matthias Clasen [Fri, 23 Apr 2010 23:18:41 +0000 (19:18 -0400)]
Updates

14 years agoRename gschema-compile to glib-compile-schemas
Matthias Clasen [Fri, 23 Apr 2010 21:27:26 +0000 (17:27 -0400)]
Rename gschema-compile to glib-compile-schemas

And clean up the autofoo a bit: use an uppercase variable,
check for pkg-config, check for presence of glib-compile-schemas.

14 years agoFix up man page handling
Matthias Clasen [Fri, 23 Apr 2010 18:52:26 +0000 (14:52 -0400)]
Fix up man page handling

Turns out the formatted man pages did not end up in the tarballs. Doh.

14 years agoadd missing #endif from last patch
Ryan Lortie [Fri, 23 Apr 2010 17:54:02 +0000 (13:54 -0400)]
add missing #endif from last patch

14 years agoGSocket: define CMSG_LEN and CMSG_SPACE if the system doesn't
Dan Winship [Thu, 25 Feb 2010 16:40:31 +0000 (11:40 -0500)]
GSocket: define CMSG_LEN and CMSG_SPACE if the system doesn't

https://bugzilla.gnome.org/show_bug.cgi?id=589989

14 years agoGSocket: add support for timeouts
Dan Winship [Thu, 31 Dec 2009 15:29:23 +0000 (10:29 -0500)]
GSocket: add support for timeouts

Also add options for testing timeouts to socket test programs

https://bugzilla.gnome.org/show_bug.cgi?id=587898

14 years agoGSocket: Merge the unix and windows socket sources together
Dan Winship [Thu, 9 Jul 2009 13:55:00 +0000 (09:55 -0400)]
GSocket: Merge the unix and windows socket sources together

And remove the bits that were added to gasynchelper.c to support the
previous unix socket source.

part of https://bugzilla.gnome.org/show_bug.cgi?id=587898

14 years agogio/tests/socket-client, socket-server: fix for win32
Dan Winship [Fri, 23 Apr 2010 16:21:38 +0000 (12:21 -0400)]
gio/tests/socket-client, socket-server: fix for win32

The addition of unix socket support broke these on win32

14 years agoMake sure G_TYPE_ERROR shows up in the docs
David Zeuthen [Fri, 23 Apr 2010 16:14:37 +0000 (12:14 -0400)]
Make sure G_TYPE_ERROR shows up in the docs

This is related to bug 614541.

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years ago[gsettings] Change AM_GSETTINGS macro to GLIB_GSETTINGS
Javier Jardón [Fri, 23 Apr 2010 13:39:44 +0000 (15:39 +0200)]
[gsettings] Change AM_GSETTINGS macro to GLIB_GSETTINGS

So we don't use Automake's macro namespace

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=616648

14 years agoAdd G_GNUC_DEPRECATED_FOR macro
Emmanuele Bassi [Tue, 6 Apr 2010 15:17:18 +0000 (16:17 +0100)]
Add G_GNUC_DEPRECATED_FOR macro

It would be good, error reporting-wise, to be able to signal which
function should be used instead of a deprecated one. GCC 4.5 added an
optional "message" payload to the deprecated attribute, so that:

  void f1 (void) __attribute__((deprecated("Use f2 instead")));

Will expand to:

  warning: f1 is deprecated: Use f2 instead

Instead of just printing:

  warning: f1 is deprecated

Since we already have a G_GNUC_DEPRECATED macro we should provide a
G_GNUC_DEPRECATED_FOR macro defined as:

  G_GNUC_DEPRECATED_FOR(bar)

Which would expand the deprecation message to "Use bar instead"
automatically. The deprecation message should probably be similar
to what we use in gtk-doc to match up with the documentation.

https://bugzilla.gnome.org/show_bug.cgi?id=614965

14 years agobump version
Matthias Clasen [Fri, 23 Apr 2010 02:24:38 +0000 (22:24 -0400)]
bump version

14 years ago2.25.2 2.25.2
Matthias Clasen [Fri, 23 Apr 2010 02:23:09 +0000 (22:23 -0400)]
2.25.2

14 years agoFix up distcheck
Matthias Clasen [Fri, 23 Apr 2010 02:01:19 +0000 (22:01 -0400)]
Fix up distcheck

14 years agoFix up g_variant_compare addition
Matthias Clasen [Fri, 23 Apr 2010 00:48:24 +0000 (20:48 -0400)]
Fix up g_variant_compare addition

14 years agoMore updates
Matthias Clasen [Fri, 23 Apr 2010 00:15:29 +0000 (20:15 -0400)]
More updates

14 years agoAdd a boxed type for GError
Matthias Clasen [Fri, 23 Apr 2010 00:10:56 +0000 (20:10 -0400)]
Add a boxed type for GError

Patch by Sebastian Dröge, bug 614541

14 years agoDocument --dry-run option of gschema-compile
Matthias Clasen [Fri, 23 Apr 2010 00:02:49 +0000 (20:02 -0400)]
Document --dry-run option of gschema-compile

14 years agoBug 615379 - g_new macros crash if sizeof(struct_type) == 0
Behdad Esfahbod [Thu, 22 Apr 2010 23:48:13 +0000 (19:48 -0400)]
Bug 615379 - g_new macros crash if sizeof(struct_type) == 0

14 years agoFix !srcdir build
Matthias Clasen [Thu, 22 Apr 2010 23:31:39 +0000 (19:31 -0400)]
Fix !srcdir build

Bug 616216

14 years agoUpdates
Matthias Clasen [Thu, 22 Apr 2010 05:29:53 +0000 (01:29 -0400)]
Updates

14 years agoUpdated Catalan (Valencian) translation
Carles Ferrando [Thu, 22 Apr 2010 22:45:49 +0000 (00:45 +0200)]
Updated Catalan (Valencian) translation

14 years agoGUnixSocketAddress: handle abstract sockets with non-0-padded names
Dan Winship [Tue, 20 Apr 2010 21:23:49 +0000 (17:23 -0400)]
GUnixSocketAddress: handle abstract sockets with non-0-padded names

There are apparently two incompatible ways of naming abstract sockets:
pad the sockaddr with 0s and use the entire thing as the name, or else
don't, and just pass a shorter length value to the relevant functions.
We previously only supported the former method. Add support for the
latter.

Also correctly handle "anonymous" unix sockaddrs (eg, the client side
of a connection, or a socketpair() socket), and add unix domain socket
support to the socket-client and socket-server test programs to make
sure this all works.

https://bugzilla.gnome.org/show_bug.cgi?id=615960

14 years agoUpdated Galician translations
Fran Diéguez [Thu, 22 Apr 2010 14:29:06 +0000 (16:29 +0200)]
Updated Galician translations

14 years agoUpdated Kannada translations
Shankar Prasad [Thu, 22 Apr 2010 10:39:58 +0000 (16:09 +0530)]
Updated Kannada translations

14 years agoRename gsettings-tool to gsettings
Matthias Clasen [Thu, 22 Apr 2010 05:15:54 +0000 (01:15 -0400)]
Rename gsettings-tool to gsettings

And make it verb-based.

14 years ago[gsettings] Add g_return_*_if_fail() guards in GSettingsBackend
Javier Jardón [Thu, 22 Apr 2010 01:20:17 +0000 (03:20 +0200)]
[gsettings] Add g_return_*_if_fail() guards in GSettingsBackend

14 years ago[gsettings] Add g_return_*_if_fail() guards
Javier Jardón [Thu, 22 Apr 2010 01:07:49 +0000 (03:07 +0200)]
[gsettings] Add g_return_*_if_fail() guards

Reported by Christian Persch here:
https://bugzilla.gnome.org/show_bug.cgi?id=616405

14 years agoAdd a test for g_settings_get_child
Matthias Clasen [Thu, 22 Apr 2010 01:03:53 +0000 (21:03 -0400)]
Add a test for g_settings_get_child

14 years agoBe more careful about memory management
Matthias Clasen [Wed, 21 Apr 2010 22:08:05 +0000 (18:08 -0400)]
Be more careful about memory management

This was leading to crashes, e.g. bug 616432.

14 years agoPedantic terminology fix
Matthias Clasen [Wed, 21 Apr 2010 21:44:47 +0000 (17:44 -0400)]
Pedantic terminology fix

Elements are not function calls and attributes are not arguments...

14 years agoFix typo in GMutex error message
Colin Walters [Wed, 21 Apr 2010 20:44:26 +0000 (16:44 -0400)]
Fix typo in GMutex error message

14 years agoHandle NULL string properties in bindings
Matthias Clasen [Wed, 21 Apr 2010 18:47:32 +0000 (14:47 -0400)]
Handle NULL string properties in bindings

Admittely, we just handle them by failing the conversion...

14 years agogio.symbols: add two missing G_GNUC_CONSTs
Dan Winship [Wed, 21 Apr 2010 17:37:59 +0000 (13:37 -0400)]
gio.symbols: add two missing G_GNUC_CONSTs

14 years agoUpdated Spanish translation
Jorge González [Wed, 21 Apr 2010 16:46:19 +0000 (18:46 +0200)]
Updated Spanish translation

14 years agoAdd a note about requiring a new enough GConf
Matthias Clasen [Wed, 21 Apr 2010 16:37:38 +0000 (12:37 -0400)]
Add a note about requiring a new enough GConf

14 years agoHandle non-readable/-writable properties when binding
Matthias Clasen [Wed, 21 Apr 2010 16:31:33 +0000 (12:31 -0400)]
Handle non-readable/-writable properties when binding

And document readability/writability requirements for binding flags.

14 years agoTest binding non-readable/writable properties
Matthias Clasen [Wed, 21 Apr 2010 16:31:10 +0000 (12:31 -0400)]
Test binding non-readable/writable properties

14 years agoRename gsettingsschemaupdatecache to the more sane gschema_compile
Matthias Clasen [Wed, 21 Apr 2010 15:50:21 +0000 (11:50 -0400)]
Rename gsettingsschemaupdatecache to the more sane gschema_compile

To follow existing glib pc variables for binaries.

14 years agoUpdate GSettings porting guide for new m4 macro
Bastien Nocera [Wed, 21 Apr 2010 15:49:00 +0000 (16:49 +0100)]
Update GSettings porting guide for new m4 macro

14 years agoAdd GSettings m4 macros helper
Bastien Nocera [Wed, 21 Apr 2010 11:25:23 +0000 (12:25 +0100)]
Add GSettings m4 macros helper

https://bugzilla.gnome.org/show_bug.cgi?id=616312

14 years agoNuke the gsettingsschemadir pc variable
Matthias Clasen [Wed, 21 Apr 2010 14:58:05 +0000 (10:58 -0400)]
Nuke the gsettingsschemadir pc variable

Not really useful, just use $(prefix)/glib-2.0/schemas. We are getting
m4 sugar to coat this over, anyway.