GNOME Bugzilla – Bug 580857
Remove deprecated Bonobo dependency
Last modified: 2009-08-06 14:27:48 UTC
Bonobo will be removed for GNOME 3. $:andre\> cd svn-gnome/gnome-control-center/ $:andre\> grep -r onobo . ./shell/control-center.c: BonoboApplication *bonobo_app = NULL; ./shell/control-center.c: if (apss_already_running (argc, argv, &bonobo_app, "GNOME-NLD-ControlCenter", startup_id)) ./shell/control-center.c: bonobo_debug_shutdown (); ./shell/control-center.c: g_signal_connect (bonobo_app, "new-instance", G_CALLBACK (apss_new_instance_cb), app_data); ./shell/control-center.c: if (bonobo_app) ./shell/control-center.c: bonobo_object_unref (bonobo_app); ./shell/control-center.c: bonobo_debug_shutdown (); ./capplets/common/activate-settings-daemon.c: "indicate a problem with Bonobo, or a non-GNOME (e.g. KDE) settings manager may already "
Now with libslab it looks worse: $:andre\> cd gnome-control-center/ $:andre\> grep -r onobo . ./libslab/app-shell-startup.c:apss_new_instance_cb (BonoboApplication * app, gint argc, char *argv[], gpointer data) ./libslab/app-shell-startup.c:apss_already_running (int argc, char *argv[], BonoboApplication ** app, ./libslab/app-shell-startup.c: BonoboAppClient *client; ./libslab/app-shell-startup.c: Bonobo_RegistrationResult reg_res; ./libslab/app-shell-startup.c: if (bonobo_init (&argc, argv) == FALSE) ./libslab/app-shell-startup.c: g_error ("Problem with bonobo_init"); ./libslab/app-shell-startup.c: if (!bonobo_activate ()) ./libslab/app-shell-startup.c: g_error ("Problem with bonobo_activate()"); ./libslab/app-shell-startup.c: bonobo_activation_set_activation_env_value ("DISPLAY", display_name); ./libslab/app-shell-startup.c: *app = bonobo_application_new (display_name); ./libslab/app-shell-startup.c: serverinfo = bonobo_application_create_serverinfo (*app, envp); ./libslab/app-shell-startup.c: reg_res = bonobo_application_register_unique (*app, serverinfo, &client); ./libslab/app-shell-startup.c: case Bonobo_ACTIVATION_REG_ALREADY_ACTIVE: ./libslab/app-shell-startup.c: bonobo_object_unref (BONOBO_OBJECT (*app)); ./libslab/app-shell-startup.c: i = bonobo_app_client_new_instance (client, ./libslab/app-shell-startup.c: case Bonobo_ACTIVATION_REG_SUCCESS: ./libslab/app-shell-startup.c: case Bonobo_ACTIVATION_REG_ERROR: ./libslab/app-shell-startup.c: g_error ("bonobo activation error when registering unique application"); ./libslab/app-shell-startup.h:#include <bonobo/bonobo-application.h> ./libslab/app-shell-startup.h:#include <bonobo/bonobo-main.h> ./libslab/app-shell-startup.h:gint apss_new_instance_cb (BonoboApplication * app, gint argc, char *argv[], ./libslab/app-shell-startup.h:gboolean apss_already_running (int argc, char *argv[], BonoboApplication ** app, ./shell/control-center.c: BonoboApplication *bonobo_app = NULL; ./shell/control-center.c: if (apss_already_running (argc, argv, &bonobo_app, "GNOME-NLD-ControlCenter", startup_id)) ./shell/control-center.c: bonobo_debug_shutdown (); ./shell/control-center.c: g_signal_connect (bonobo_app, "new-instance", G_CALLBACK (apss_new_instance_cb), app_data); ./shell/control-center.c: if (bonobo_app) ./shell/control-center.c: bonobo_object_unref (bonobo_app); ./shell/control-center.c: bonobo_debug_shutdown (); ./capplets/common/activate-settings-daemon.c: "indicate a problem with Bonobo, or a non-GNOME (e.g. KDE) settings manager may already "
With the newest libslab from the standalone repo, we don't depend anymore on Bonobo, so closing