After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 580857 - Remove deprecated Bonobo dependency
Remove deprecated Bonobo dependency
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: shell
git master
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks: 588321
 
 
Reported: 2009-04-30 09:32 UTC by André Klapper
Modified: 2009-08-06 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2009-04-30 09:32:56 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 "
Comment 1 André Klapper 2009-08-05 14:27:43 UTC
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 "
Comment 2 Rodrigo Moya 2009-08-06 14:27:48 UTC
With the newest libslab from the standalone repo, we don't depend anymore on Bonobo, so closing