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 622904 - Can't build due to ./control-center/gdaui-dsn-assistant.c:668: undefined reference to `gdk_pixbuf_unref'
Can't build due to ./control-center/gdaui-dsn-assistant.c:668: undefined refe...
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: general
4.1.x
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-27 11:05 UTC by Tobias Mueller
Modified: 2010-06-27 13:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tobias Mueller 2010-06-27 11:05:35 UTC
make[1]: Entering directory `/home/muelli/svn/gnome2/libgda-4.1.6/control-center/data'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/muelli/svn/gnome2/libgda-4.1.6/control-center/data'
make[1]: Entering directory `/home/muelli/svn/gnome2/libgda-4.1.6/control-center'
  CCLD   gda-control-center-4.0
gdaui-dsn-assistant.o: In function `gdaui_dsn_assistant_finalize':
/home/muelli/svn/gnome2/libgda-4.1.6/control-center/gdaui-dsn-assistant.c:668: undefined reference to `gdk_pixbuf_unref'
collect2: ld returned 1 exit status
make[1]: *** [gda-control-center-4.0] Error 1
make[1]: Leaving directory `/home/muelli/svn/gnome2/libgda-4.1.6/control-center'
make: *** [all-recursive] Error 1


The fix is simple, I think. Just use g_object_unref.
http://library.gnome.org/devel/gdk-pixbuf/2.20/gdk-pixbuf-refcounting.html#gdk-pixbuf-unref
Comment 1 malerba 2010-06-27 13:19:37 UTC
Ok, this is now done in git/master.
If you need to test with GTK3, there is also a 'gtk3' branch.