--- Begin Message ---
Subject: |
trunk uses deprecated gtk3 functions |
Date: |
Sat, 23 Jun 2012 10:08:38 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
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]
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#11768: trunk uses deprecated gtk3 functions |
Date: |
Fri, 6 Jul 2012 17:04:04 +0200 |
Hello.
6 jul 2012 kl. 08:31 skrev Chong Yidong:
> Jan Djärv <address@hidden> writes:
>
>>> 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.
>
> This commit (r108881) breaks mouse clicks when Emacs is compiled with
> gtk3. Emacs doesn't seem to register the mouse events at all.
>
> Reopening the bug.
Missed to assign a variable, sorry. Fixed again.
Jan D.
--- End Message ---