- 10 Jun, 2010 6 commits
-
-
Tomeu Vizoso authored
accept more than one callback. g_bus_own_name_with_closures g_bus_own_name_on_connection_with_closures g_bus_watch_name_with_closures g_bus_watch_name_on_connection_with_closures g_bus_watch_proxy_with_closures g_bus_watch_proxy_on_connection_with_closures https://bugzilla.gnome.org/show_bug.cgi?id=621092
-
Colin Walters authored
-
Colin Walters authored
Create a function run_with_application that both ensures the app is running exactly while the test is running, which most of the tests use. We start it beforehand, and kill it after. This avoids having any interdependence between the tests (and there definitely was before, because we didn't wait for the process to actually terminate after a kill() call). Also, open a pipe between the two, and have the child app monitor that pipe. If it gets closed (e.g. because the parent died), the child exits. This is the most reliable way to avoid stale children; before, if we failed an assertion, the parent would abort, and not run kill(). https://bugzilla.gnome.org/show_bug.cgi?id=621034
-
Allison Karlitskaya authored
It's not entirely clear what @format_string in iter_next() and iter_loop() should be. Include a link to the GVariant format string docs as a hint.
-
Tor Lillqvist authored
Intern the string returned from g_win32_getlocale() and then free it. Fixes bug #621168.
-
Matthias Clasen authored
We reuse code from the GDBus tests here to launch a session bus.
-
- 09 Jun, 2010 8 commits
-
-
David Zeuthen authored
There was a slight race where we ended up calling into user code if the user managed to unregister an object (or subtree) in the window between - processing the remote call on the worker thread; and - continuing handling it on the user code thread (via an idle handler) This patch fixes the problem. Signed-off-by:
David Zeuthen <davidz@redhat.com>
-
David Zeuthen authored
Signed-off-by:
David Zeuthen <davidz@redhat.com>
-
Allison Karlitskaya authored
Problem caught by Juan A. Suarez Romero
-
Richard Hughes authored
-
David Zeuthen authored
Fix proxy construction for objects with no properties in the case where G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES isn't set. The unfortunate side-effect here is that GDBusProxy can no longer be used to test for "object existence", e.g. creating a GDBusProxy for any path and interface will not fail. But that's not really a big deal, if apps rely on that they are doing something very wrong. https://bugzilla.gnome.org/show_bug.cgi?id=621119Signed-off-by:
David Zeuthen <davidz@redhat.com>
-
Juan A. Suárez Romero authored
Disable functions defined but not used.
-
Juan A. Suárez Romero authored
Do explicit casts to avoid warnings.
-
blue dark authored
-
- 08 Jun, 2010 18 commits
-
-
Christian Persch authored
When replacing strcmp() with g_variant_is_of_type(), remove the "== 0" part! Found by Colin Walters.
-
Colin Walters authored
The fix was committed in git. https://bugzilla.gnome.org/show_bug.cgi?id=620990
-
Christian Persch authored
Bug #620953.
-
Christian Persch authored
Build the full return value with one builder, and don't unref the unowned return value! Bug #620954.
-
Christian Persch authored
... instead of strcmp()'ing the type strings. Bug #620954.
-
Christian Persch authored
Bug #620954.
-
Javier Jardón authored
Reported by Alexander Saprykin in bug https://bugzilla.gnome.org/show_bug.cgi?id=620947
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
Pointed out by David Zeuthen.
-
Matthias Clasen authored
GApplication::action was erroneously declaring the timestamp parameter as int instead of uint.
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
Matthias Clasen authored
-
- 07 Jun, 2010 6 commits
-
-
Javier Jardón authored
-
Matthias Clasen authored
-
Matthias Clasen authored
This adds a GApplication object to GIO, which is the core of an application support class, supporting - uniqueness - exporting actions (simple scripting) - standard actions (quit, activate) The implementation for Linux uses D-Bus, takes a name on the session bus, and exports a org.gtk.Application interface. Implementations for Win32 and OS X are still missing.
-
Allison Karlitskaya authored
Use the correct variable name and work around the escaping of '@'. Expand/clarify the section on how translation of <default> is handled.
-
Matthias Clasen authored
-
Allison Karlitskaya authored
The GSettings schema compiler was accepting any string as a path. It is probably quite a common mistake to suspect that '/apps/foo' is a valid path name when this will cause all sorts of trouble later. Check for this case and report the error.
-
- 06 Jun, 2010 2 commits
-
-
Matthias Clasen authored
This was requested in bug 620265.
-
Christian Persch authored
-