all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#11768: trunk uses deprecated gtk3 functions
@ 2012-06-23 17:08 Paul Eggert
  2012-07-05 16:00 ` Jan Djärv
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Eggert @ 2012-06-23 17:08 UTC (permalink / raw)
  To: 11768

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]





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#11768: trunk uses deprecated gtk3 functions
  2012-06-23 17:08 bug#11768: trunk uses deprecated gtk3 functions Paul Eggert
@ 2012-07-05 16:00 ` Jan Djärv
  2012-07-06  6:31   ` Chong Yidong
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Djärv @ 2012-07-05 16:00 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 11768-done

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.







^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#11768: trunk uses deprecated gtk3 functions
  2012-07-05 16:00 ` Jan Djärv
@ 2012-07-06  6:31   ` Chong Yidong
  2012-07-06 15:04     ` Jan Djärv
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2012-07-06  6:31 UTC (permalink / raw)
  To: jan.h.d; +Cc: 11768, Paul Eggert

Jan Djärv <jan.h.d@swipnet.se> 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#11768: trunk uses deprecated gtk3 functions
  2012-07-06  6:31   ` Chong Yidong
@ 2012-07-06 15:04     ` Jan Djärv
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Djärv @ 2012-07-06 15:04 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 11768-done, Paul Eggert

Hello.

6 jul 2012 kl. 08:31 skrev Chong Yidong:

> Jan Djärv <jan.h.d@swipnet.se> 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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-06 15:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-23 17:08 bug#11768: trunk uses deprecated gtk3 functions Paul Eggert
2012-07-05 16:00 ` Jan Djärv
2012-07-06  6:31   ` Chong Yidong
2012-07-06 15:04     ` Jan Djärv

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.