GNOME Bugzilla – Bug 586435
Remove deprecated libgnome dependency
Last modified: 2009-11-24 16:57:03 UTC
http://live.gnome.org/LibgnomeMustDie ./gconf/gnome-testclient.c includes four lines that make it depend on libgnome: #include <gnome.h> gnome_init(PACKAGE, VERSION, argc, argv); app = gnome_app_new("gconf-test", "Testing GConf"); gnome_app_set_contents(GNOME_APP(app), entry); Plus these three lines in ./doc/gconf/gconf.sgml: See <xref linkend="gconf-client"/>. Because libgnome uses <structname>GConfClient</structname>, apps using libgnome object in advance. The <filename>libgnome/gnome-config.h</filename>
Garr. Dups. The explicit headers here should probably be instead: #include <libgnomeui/gnome-app.h> #include <libgnomeui/gnome-ui-init.h>
*** Bug 588970 has been marked as a duplicate of this bug. ***
Commenting //#include <gnome.h> gconf still compiles, maybe because of #include <libgnorba/gnorba.h>? Where does that Gnorba stuff come from?
OK, gconf/gnome-testclient.c does not get built at all. How to enable building gconf/gnome-testclient.c?
I think we can just nuke the file since it hasn't been touched since 2003 and hasn't been built in ages.
Commited now.
For the records, ./gconf/gnome-testclient.c was removed by http://git.gnome.org/cgit/gconf/commit/?id=3f604aa22fff8561896d02cfbe16aaf169919875