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 731326 - Fails to build with latest GTK
Fails to build with latest GTK
Status: RESOLVED FIXED
Product: gnome-contacts
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Contacts maintainer(s)
GNOME Contacts maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-06-06 09:51 UTC by Vadim Rutkovsky
Modified: 2014-06-06 17:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vadim Rutkovsky 2014-06-06 09:51:18 UTC
Arrows were deprecated in gtk master recently, so gnome-contacts fails to build:

../../libgd/libgd/gd-header-button.c: In function 'rebuild_child':
../../libgd/libgd/gd-header-button.c:221:11: warning: 'gtk_arrow_new' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkarrow.h:73) [-Wdeprecated-declarations]
           arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
           ^
mv -f .deps/gd-icon-utils.Tpo .deps/gd-icon-utils.Plo
mv -f .deps/gd-entry-focus-hack.Tpo .deps/gd-entry-focus-hack.Plo
mv -f .deps/gd-header-button.Tpo .deps/gd-header-button.Plo
../../libgd/libgd/gd-main-toolbar.c: In function 'gd_main_toolbar_constructed':
../../libgd/libgd/gd-main-toolbar.c:179:3: warning: 'gtk_widget_set_margin_right' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:1100): Use 'gtk_widget_set_margin_end' instead [-Wdeprecated-declarations]
   gtk_widget_set_margin_right (GTK_WIDGET (self->priv->left_group), 12);
   ^
../../libgd/libgd/gd-main-toolbar.c:225:3: warning: 'gtk_widget_set_margin_left' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkwidget.h:1095): Use 'gtk_widget_set_margin_start' instead [-Wdeprecated-declarations]
   gtk_widget_set_margin_left (GTK_WIDGET (self->priv->right_group), 12);
   ^
../../libgd/libgd/gd-main-toolbar.c: In function 'gd_main_toolbar_set_labels_menu':
../../libgd/libgd/gd-main-toolbar.c:360:7: warning: 'gtk_arrow_new' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkarrow.h:73) [-Wdeprecated-declarations]
       w = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
Comment 1 Erick Perez Castellanos 2014-06-06 17:13:16 UTC
Fixed in master.
Pushed here: https://git.gnome.org/browse/gnome-contacts/commit/?id=4e8cb0e36fc218b501d898cd15b84e2830677b3a

This fix is for gnome-contacts, nevertheless libgd should be fixed.