GNOME Bugzilla – Bug 589117
Remove deprecated libgnome(ui) dependency
Last modified: 2009-08-23 17:54:31 UTC
This is required for GNOME 3. http://live.gnome.org/LibgnomeMustDie ./gok/test-gok-wordcomplete.c:#include <libgnomeui/libgnomeui.h> ./gok/main.c:#include <libgnomeui/libgnomeui.h> ./gok/test-gok-action.c:#include <libgnomeui/libgnomeui.h> ./gok/test-gok-feedback.c:#include <libgnomeui/libgnomeui.h> ./gok/gok-page-keyboard.c:#include <libgnomeui/libgnomeui.h> ./gok/main.c:#include <libgnomeui/gnome-client.h> ./gok/gok-key.c:#include <libgnome/gnome-program.h> ./gok/main.c:#include <libgnome/gnome-program.h> ./gok/gok-utf8-word-complete.c:#include <libgnome/gnome-macros.h> ./gok/gok-sliding-window-word-complete.c:#include <libgnome/gnome-macros.h> ./gok/word-complete.c:#include <libgnome/gnome-macros.h> ./gok/gok-word-complete.c:#include <libgnome/gnome-macros.h>
Patch to use G_DEFINE_TYPE instead of GNOME_BOILERPLATE_. Removes all gnome-macros.h includes. ./gok/gok-utf8-word-complete.c:#include <libgnome/gnome-macros.h> ./gok/gok-sliding-window-word-complete.c:#include <libgnome/gnome-macros.h> ./gok/word-complete.c:#include <libgnome/gnome-macros.h> ./gok/gok-word-complete.c:#include <libgnome/gnome-macros.h>
Created attachment 138813 [details] [review] Remove gnome-macros.h
For your interest, I've mostly listed one bug report/example patches of other fixed modules at http://live.gnome.org/AndreKlapper/GCDS3 . Maybe it can be a bit helpful too to look at code of other projects...
Created attachment 139555 [details] [review] Cleanup generic libgnomeui includes to be more specific Trying to get rid of the generic <libgnomeui/libgnomeui.h> headers to see what exact parts need to be substituted.
Created attachment 139875 [details] [review] Remove libgnome & libgnome-ui Here's a combined patch that removes everything listed in comment #1 and updates the build files. Thanks for all your help André.
well the list above comment #1 actually. :)
I'd really like to see this getting in for the next tarball (2.27.90, August 10) so this receives enough testing for 2.28. David, can you review this?
Comment on attachment 139875 [details] [review] Remove libgnome & libgnome-ui Thanks.
Committed to master. Thanks for the review.