Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
at-spi
at-spi-64.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File at-spi-64.patch of Package at-spi
diff --git a/registryd/registry-main.c b/registryd/registry-main.c index a745878..344ae6f 100644 --- a/registryd/registry-main.c +++ b/registryd/registry-main.c @@ -315,6 +315,7 @@ set_gtk_path (DBusGProxy *gsm) gboolean found; GError *error; int i, j; + const char *gtk_path = (sizeof (long) == 8? "GTK_PATH64": "GTK_PATH"); corba_path = g_build_filename (GTK_LIBDIR, "gtk-2.0", @@ -322,7 +323,7 @@ set_gtk_path (DBusGProxy *gsm) "at-spi-corba", NULL); - old = g_getenv ("GTK_PATH"); + old = g_getenv (gtk_path); if (old != NULL) { char **old_path; char **path; @@ -357,15 +358,15 @@ set_gtk_path (DBusGProxy *gsm) if (gsm != NULL) { error = NULL; if (!dbus_g_proxy_call (gsm, "Setenv", &error, - G_TYPE_STRING, "GTK_PATH", + G_TYPE_STRING, gtk_path, G_TYPE_STRING, value, G_TYPE_INVALID, G_TYPE_INVALID)) { - g_warning ("Could not set GTK_PATH: %s", error->message); + g_warning ("Could not set %s: %s", gtk_path, error->message); g_error_free (error); } } else { - g_setenv ("GTK_PATH", value, TRUE); + g_setenv (gtk_path, value, TRUE); } g_free (value);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor