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 591042 - Get rid of deprecated libgnome(ui)/libgnomecanvas
Get rid of deprecated libgnome(ui)/libgnomecanvas
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Register
git-master
Other Linux
: Normal enhancement
: ---
Assigned To: gnucash-ui-maint
gnucash-ui-maint
Depends on: 596254
Blocks:
 
 
Reported: 2009-08-07 09:45 UTC by André Klapper
Modified: 2018-06-29 22:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Klapper 2009-08-07 09:45:59 UTC
Checking GnuCash for GNOME3 readiness...

libgnome(ui) has been deprecated and will be removed for GNOME 3 (planned for March 2010). Any applications (also if not officially included in GNOME) should definitely consider updating their code.

Also see http://live.gnome.org/LibgnomeMustDie .


Over-linking by using the mega-include "gnome.h" hides the complexity of this task. This should probably be fixed first:

$:andre\> grep -r "include <gnome" .
./src/register/register-gnome/gnucash-sheet.h:#include <gnome.h>
./src/register/register-gnome/gnucash-date-picker.c:#include <gnome.h>
./src/register/register-gnome/gnucash-style.c:#include <gnome.h>
./src/register/register-gnome/pricecell-gnome.c:#include <gnome.h>
./src/register/register-gnome/gnucash-color.c:#include <gnome.h>
./src/register/register-gnome/gnucash-color.h:#include <gnome.h>
./src/register/register-gnome/gnucash-item-edit.c:#include <gnome.h>
./src/register/register-gnome/gnucash-header.h:#include <gnome.h>
./src/register/register-gnome/gnucash-grid.h:#include <gnome.h>
./src/register/register-gnome/datecell-gnome.c:#include <gnome.h>
./src/register/register-gnome/gnucash-cursor.h:#include <gnome.h>
./src/register/register-gnome/gnucash-style.h:#include <gnome.h>
./src/register/register-gnome/table-gnome.c:#include <gnome.h>
./src/register/register-gnome/quickfillcell-gnome.c:#include <gnome.h>
./src/register/register-gnome/combocell-gnome.c:#include <gnome.h>
./src/register/register-gnome/formulacell-gnome.c:#include <gnome.h>
./src/register/register-gnome/gnucash-item-list.c:#include <gnome.h>
./src/register/register-gnome/gnucash-date-picker.h:#include <gnome.h>
./src/import-export/binary-import/druid-commodity.c:#include <gnome.h>
./src/import-export/qif-import/druid-qif-import.c:#include <gnome.h>
./src/import-export/hbci/gnc-hbci-actions.h:/*#include <gnome.h>
./src/import-export/hbci/dialog-hbcitrans.c:#include <gnome.h>
./src/import-export/hbci/druid-hbci-initial.c:#include <gnome.h>
./src/import-export/gnc-import-format-gnome.c:#include <gnome.h>
./src/report/report-gnome/window-report.c:#include <gnome.h>
./src/gnome-utils/druid-gconf-setup.c:#include <gnome.h>
./src/gnome-utils/gnc-recurrence.c:#include <gnome.h>
./src/gnome-utils/gnc-date-edit.c:#include <gnome.h> 
./src/gnome-utils/print-session.c:#    include <gnome.h>
./src/gnome-utils/dialog-account.c:#include <gnome.h>
./src/gnome-utils/gnc-druid-provider-file-gnome.c:#include <gnome.h>
./src/gnome-utils/gnc-main-window.c:#include <gnome.h>
./src/gnome-utils/gnc-gui-query.c:#include <gnome.h>
./src/gnome-utils/gnc-gnome-utils.c:#include <gnome.h>
./src/gnome-utils/druid-utils.c:#include <gnome.h>
./src/gnome-utils/druid-gnc-xml-import.c:#include <gnome.h>
./src/gnome/druid-merge.c:#include <gnome.h>
./src/gnome/druid-acct-period.c:#include <gnome.h>
./src/gnome/druid-loan.c:#include <gnome.h>
./src/gnome/druid-hierarchy.c:#include <gnome.h>
./src/gnome/druid-stock-split.c:#include <gnome.h>
./src/gnome/dialog-userpass.c:#include <gnome.h>
./src/business/business-gnome/dialog-invoice.c:#include <gnome.h>
./src/business/business-gnome/dialog-date-close.c:#include <gnome.h>


$:andre\> grep -r "include <libgnome" .
./src/import-export/gnc-import-format-gnome.h:#include <libgnomeui/libgnomeui.h>
./src/gnome-utils/gnc-gnome-utils.h:#include <libgnome/libgnome.h>
./src/gnome-utils/gnc-druid-provider-multifile-gnome.h:#include <libgnomeui/libgnomeui.h>
./src/gnome-utils/gnc-druid-provider-file-gnome.h:#include <libgnomeui/libgnomeui.h>
./src/gnome-utils/gnc-druid-gnome.h:#include <libgnomeui/libgnomeui.h>
./src/gnome-utils/gnc-druid-provider-edge-gnome.h:#include <libgnomeui/libgnomeui.h>
./src/gnome-utils/druid-utils.h:#include <libgnomeui/gnome-druid.h>
./src/bin/gnucash-bin.c:#include <libgnome/libgnome.h>
Comment 1 Geert Janssens 2012-09-11 08:31:18 UTC
libgnome and libgnomeui have been dropped as of r22381. The only deprecated gnome dependency left is libgnomecanvas. According to the Project Ridley page there is no official replacement for that one yet although it possibly could be replaced with a cairo implementation.
Comment 2 Geert Janssens 2012-09-11 08:32:13 UTC
Updated the title to include libgnomecanvas as well.
Comment 3 Geert Janssens 2018-05-22 09:33:53 UTC
With gnucash 3.0 we have replaced libgnomecanvas with gtklayout. Time to close this request.
Comment 4 John Ralls 2018-06-29 22:26:07 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=591042. Please update any external references or bookmarks.