GNU bug report logs -
#11768
trunk uses deprecated gtk3 functions
Previous Next
Reported by: Paul Eggert <eggert <at> cs.ucla.edu>
Date: Sat, 23 Jun 2012 17:13:02 UTC
Severity: normal
Done: Jan Djärv <jan.h.d <at> swipnet.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#11768: trunk uses deprecated gtk3 functions
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 11768 <at> debbugs.gnu.org.
--
11768: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11768
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Hello.
23 jun 2012 kl. 19:08 skrev Paul Eggert:
> When I build trunk bzr 108707 on Ubuntu 12.04 x86
> I get the following diagnostics. I'm not familiar
> with gtk3, but can someone who is familiar look into it?
> Thanks.
Fixed.
> gtkutil.c:1987:3: warning: ‘gtk_font_selection_dialog_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkfontsel.h:142): Use 'GtkFontChooser' instead [-Wdeprecated-declarations]
> gtkutil.c:1990:3: warning: ‘gtk_font_selection_dialog_set_font_name’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkfontsel.h:153): Use 'GtkFontChooser' instead [-Wdeprecated-declarations]
> gtkutil.c:2003:7: warning: ‘gtk_font_selection_dialog_get_font_name’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkfontsel.h:151): Use 'GtkFontChooser' instead [-Wdeprecated-declarations]
We have a configure check for gtk_font_selection, so these warnings will remain as long as gtk_font_selection is available.
Jan D.
[Message part 3 (message/rfc822, inline)]
When I build trunk bzr 108707 on Ubuntu 12.04 x86
I get the following diagnostics. I'm not familiar
with gtk3, but can someone who is familiar look into it?
Thanks.
gtkutil.c: In function ‘xg_create_frame_widgets’:
gtkutil.c:1115:3: warning: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
gtkutil.c:1116:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
gtkutil.c: In function ‘create_dialog’:
gtkutil.c:1491:7: warning: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
gtkutil.c:1492:7: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
gtkutil.c:1493:7: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
gtkutil.c: In function ‘xg_get_file_with_chooser’:
gtkutil.c:1781:3: warning: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
gtkutil.c: In function ‘xg_get_font_name’:
gtkutil.c:1987:3: warning: ‘gtk_font_selection_dialog_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkfontsel.h:142): Use 'GtkFontChooser' instead [-Wdeprecated-declarations]
gtkutil.c:1990:3: warning: ‘gtk_font_selection_dialog_set_font_name’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkfontsel.h:153): Use 'GtkFontChooser' instead [-Wdeprecated-declarations]
gtkutil.c:2003:7: warning: ‘gtk_font_selection_dialog_get_font_name’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkfontsel.h:151): Use 'GtkFontChooser' instead [-Wdeprecated-declarations]
gtkutil.c: In function ‘make_widget_for_menu_item’:
gtkutil.c:2193:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
gtkutil.c: In function ‘update_theme_scrollbar_width’:
gtkutil.c:3404:3: warning: ‘gtk_vscrollbar_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h:66): Use 'gtk_scrollbar_new' instead [-Wdeprecated-declarations]
gtkutil.c: In function ‘xg_create_scroll_bar’:
gtkutil.c:3481:3: warning: ‘gtk_vscrollbar_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvscrollbar.h:66): Use 'gtk_scrollbar_new' instead [-Wdeprecated-declarations]
gtkutil.c: In function ‘xg_event_is_for_scrollbar’:
gtkutil.c:3714:7: warning: ‘gdk_display_get_window_at_pointer’ is deprecated (declared at /usr/include/gtk-3.0/gdk/gdkdisplay.h:97): Use 'gdk_device_get_window_at_position' instead [-Wdeprecated-declarations]
gtkutil.c: In function ‘xg_make_tool_item’:
gtkutil.c:4236:3: warning: ‘gtk_hbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:62): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
gtkutil.c:4236:3: warning: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Wdeprecated-declarations]
This bug report was last modified 13 years and 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.