all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: martin rudalics <rudalics@gmx.at>, 28189@debbugs.gnu.org
Subject: bug#28189: 26.0.50; Emacs uses deprecated function gtk_window_parse_geometry
Date: Wed, 23 Aug 2017 23:26:41 +0000	[thread overview]
Message-ID: <CAArVCkQMp=BYh7-26UKOOD9Jo2Jj2pPPzt8XR_MEZfCBFynMew@mail.gmail.com> (raw)
In-Reply-To: <599D80D1.6090508@gmx.at>


[-- Attachment #1.1: Type: text/plain, Size: 936 bytes --]

martin rudalics <rudalics@gmx.at> schrieb am Mi., 23. Aug. 2017 um
15:19 Uhr:

>  > But doesn't removing the declaration break the build even if the
> function
>  > isn't called?
>
> Sure.  We can either remove x_gtk_use_window_move and call
> gtk_window_move unconditionally
>

Would there be any downsides of that?


>
>  >> Can you build with unstable?
>  >>
>  >
>  > Haven't tried that (GTK appears to use a quite idiosyncratic build
> system),
>  > but the Emacs build already breaks on Debian testing when configuring
> with
>  > '--enable-gcc-warnings --enable-gtk-deprecation-warnings' (there are a
> few
>  > more deprecated functions that Emacs uses).
>
> Have these already been deprecated with GTK 3.10.8?  I'm using 3.4.2
> here.  In any case please post a list of these functions here (unless
> you intend to take care of them by yourself).
>
>
I've attached the compilation log including all GTK-related error messages.

[-- Attachment #1.2: Type: text/html, Size: 1473 bytes --]

[-- Attachment #2: gtk-compile.txt --]
[-- Type: text/plain, Size: 24465 bytes --]

  CC       dispnew.o
  CC       frame.o
  CC       scroll.o
  CC       xdisp.o
  CC       menu.o
  CC       xmenu.o
xmenu.c: In function ‘create_and_show_popup_menu’:
xmenu.c:1299:3: error: ‘gtk_menu_popup’ is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Werror=deprecated-declarations]
   gtk_menu_popup (GTK_MENU (menu), 0, 0, pos_func, &popup_x_y, i,
   ^~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34:0,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from xterm.h:49,
                 from keyboard.h:27,
                 from xmenu.c:38:
/usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here
 void    gtk_menu_popup    (GtkMenu        *menu,
         ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:374: recipe for target 'xmenu.o' failed
make: *** [xmenu.o] Error 1
  CC       window.o
  CC       charset.o
  CC       coding.o
  CC       category.o
  CC       ccl.o
  CC       character.o
  CC       chartab.o
  CC       bidi.o
  CC       cm.o
  CC       term.o
  CC       terminal.o
  CC       xfaces.o
  CC       xterm.o
xterm.c: In function ‘x_hide_hourglass’:
xterm.c:4003:7: error: ‘gdk_window_process_all_updates’ is deprecated [-Werror=deprecated-declarations]
       XSync (FRAME_X_DISPLAY (f), False);
       ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xterm.c:33:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here
 void       gdk_window_process_all_updates (void);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xterm.c: In function ‘XTflash’:
xterm.c:4021:5: error: ‘gdk_cairo_create’ is deprecated: Use 'gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context()' instead [-Werror=deprecated-declarations]
     cairo_t *cr = gdk_cairo_create (window);
     ^~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdk.h:33:0,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xterm.c:33:
/usr/include/gtk-3.0/gdk/gdkcairo.h:35:12: note: declared here
 cairo_t  * gdk_cairo_create             (GdkWindow          *window);
            ^~~~~~~~~~~~~~~~
xterm.c: In function ‘x_catch_errors_with_handler’:
xterm.c:9597:3: error: ‘gdk_window_process_all_updates’ is deprecated [-Werror=deprecated-declarations]
   XSync (dpy, False);
   ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xterm.c:33:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here
 void       gdk_window_process_all_updates (void);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xterm.c: In function ‘x_uncatch_errors’:
xterm.c:9645:5: error: ‘gdk_window_process_all_updates’ is deprecated [-Werror=deprecated-declarations]
     XSync (x_error_message->dpy, False);
     ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xterm.c:33:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here
 void       gdk_window_process_all_updates (void);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xterm.c: In function ‘x_check_errors’:
xterm.c:9661:3: error: ‘gdk_window_process_all_updates’ is deprecated [-Werror=deprecated-declarations]
   XSync (dpy, False);
   ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xterm.c:33:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here
 void       gdk_window_process_all_updates (void);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xterm.c: In function ‘x_had_errors_p’:
xterm.c:9679:3: error: ‘gdk_window_process_all_updates’ is deprecated [-Werror=deprecated-declarations]
   XSync (dpy, False);
   ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xterm.c:33:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here
 void       gdk_window_process_all_updates (void);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xterm.c: In function ‘x_sync_with_move’:
xterm.c:10992:7: error: ‘gdk_window_process_all_updates’ is deprecated [-Werror=deprecated-declarations]
       XSync (FRAME_X_DISPLAY (f), False);
       ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xterm.c:33:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here
 void       gdk_window_process_all_updates (void);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xterm.c: In function ‘xembed_send_message’:
xterm.c:11350:3: error: ‘gdk_window_process_all_updates’ is deprecated [-Werror=deprecated-declarations]
   XSync (FRAME_X_DISPLAY (f), False);
   ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xterm.c:33:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here
 void       gdk_window_process_all_updates (void);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:374: recipe for target 'xterm.o' failed
make: *** [xterm.o] Error 1
  CC       xfns.o
xfns.c: In function ‘Fx_display_monitor_attributes_list’:
xfns.c:4901:3: error: ‘gdk_screen_get_primary_monitor’ is deprecated: Use 'gdk_display_get_primary_monitor' instead [-Werror=deprecated-declarations]
   primary_monitor = gdk_screen_get_primary_monitor (gscreen);
   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xfns.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:76:14: note: declared here
 gint         gdk_screen_get_primary_monitor   (GdkScreen    *screen);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xfns.c:4903:3: error: ‘gdk_screen_get_n_monitors’ is deprecated: Use 'gdk_display_get_n_monitors' instead [-Werror=deprecated-declarations]
   n_monitors = gdk_screen_get_n_monitors (gscreen);
   ^~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xfns.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:74:14: note: declared here
 gint         gdk_screen_get_n_monitors        (GdkScreen    *screen);
              ^~~~~~~~~~~~~~~~~~~~~~~~~
xfns.c:4916:4: error: ‘gdk_screen_get_monitor_at_window’ is deprecated: Use 'gdk_display_get_monitor_at_window' instead [-Werror=deprecated-declarations]
    i = gdk_screen_get_monitor_at_window (gscreen, gwin);
    ^
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xfns.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:91:15: note: declared here
 gint          gdk_screen_get_monitor_at_window (GdkScreen *screen,
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xfns.c:4927:7: error: ‘gdk_screen_get_monitor_geometry’ is deprecated: Use 'gdk_monitor_get_geometry' instead [-Werror=deprecated-declarations]
       gdk_screen_get_monitor_geometry (gscreen, i, &rec);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xfns.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:78:14: note: declared here
 void         gdk_screen_get_monitor_geometry  (GdkScreen    *screen,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xfns.c:4930:7: error: ‘gdk_screen_get_monitor_width_mm’ is deprecated: Use 'gdk_monitor_get_width_mm' instead [-Werror=deprecated-declarations]
       width_mm = gdk_screen_get_monitor_width_mm (gscreen, i);
       ^~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xfns.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:94:15: note: declared here
 gint          gdk_screen_get_monitor_width_mm  (GdkScreen *screen,
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xfns.c:4931:7: error: ‘gdk_screen_get_monitor_height_mm’ is deprecated: Use 'gdk_monitor_get_height_mm' instead [-Werror=deprecated-declarations]
       height_mm = gdk_screen_get_monitor_height_mm (gscreen, i);
       ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xfns.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:97:15: note: declared here
 gint          gdk_screen_get_monitor_height_mm (GdkScreen *screen,
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xfns.c:4939:7: error: ‘gdk_screen_get_monitor_workarea’ is deprecated: Use 'gdk_monitor_get_workarea' instead [-Werror=deprecated-declarations]
       gdk_screen_get_monitor_workarea (gscreen, i, &work);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xfns.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:82:14: note: declared here
 void         gdk_screen_get_monitor_workarea  (GdkScreen    *screen,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xfns.c:4972:7: error: ‘gdk_screen_get_monitor_plug_name’ is deprecated: Use 'gdk_monitor_get_model' instead [-Werror=deprecated-declarations]
       mi->name = gdk_screen_get_monitor_plug_name (gscreen, i);
       ^~
In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31:0,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xfns.c:27:
/usr/include/gtk-3.0/gdk/gdkscreen.h:100:15: note: declared here
 gchar *       gdk_screen_get_monitor_plug_name (GdkScreen *screen,
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xfns.c: In function ‘x_sync’:
xfns.c:5669:3: error: ‘gdk_window_process_all_updates’ is deprecated [-Werror=deprecated-declarations]
   XSync (FRAME_X_DISPLAY (f), False);
   ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xfns.c:27:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here
 void       gdk_window_process_all_updates (void);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:374: recipe for target 'xfns.o' failed
make: *** [xfns.o] Error 1
  CC       xselect.o
xselect.c: In function ‘x_reply_selection_request’:
xselect.c:732:3: error: ‘gdk_window_process_all_updates’ is deprecated [-Werror=deprecated-declarations]
   XSync (display, False);
   ^~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28:0,
                 from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from xselect.c:33:
/usr/include/gtk-3.0/gdk/gdkwindow.h:1058:12: note: declared here
 void       gdk_window_process_all_updates (void);
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:374: recipe for target 'xselect.o' failed
make: *** [xselect.o] Error 1
  CC       xrdb.o
  CC       xsmfns.o
  CC       xsettings.o
  CC       gtkutil.o
gtkutil.c: In function ‘xg_check_special_colors’:
gtkutil.c:580:7: error: ‘gtk_style_context_get_background_color’ is deprecated: Use 'gtk_render_background' instead [-Werror=deprecated-declarations]
       gtk_style_context_get_background_color (gsty, state, &col);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27:0,
                 from /usr/include/gtk-3.0/gtk/gtk.h:123,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtkstylecontext.h:1201:6: note: declared here
 void gtk_style_context_get_background_color (GtkStyleContext *context,
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtkutil.c: In function ‘xg_set_geometry’:
gtkutil.c:856:4: error: ‘gtk_window_parse_geometry’ is deprecated [-Werror=deprecated-declarations]
    if (!gtk_window_parse_geometry (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)),
    ^~
In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtkwindow.h:443:10: note: declared here
 gboolean gtk_window_parse_geometry   (GtkWindow   *window,
          ^~~~~~~~~~~~~~~~~~~~~~~~~
gtkutil.c: In function ‘xg_set_widget_bg’:
gtkutil.c:1056:7: error: ‘gtk_widget_override_background_color’ is deprecated [-Werror=deprecated-declarations]
       gtk_widget_override_background_color (w, GTK_STATE_FLAG_NORMAL, &bg);
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0,
                 from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
                 from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here
 void         gtk_widget_override_background_color (GtkWidget     *widget,
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtkutil.c: In function ‘xg_create_frame_widgets’:
gtkutil.c:1215:3: error: ‘gtk_widget_set_double_buffered’ is deprecated [-Werror=deprecated-declarations]
   gtk_widget_set_double_buffered (wfixed, FALSE);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27:0,
                 from /usr/include/gtk-3.0/gtk/gtkwindow.h:33,
                 from /usr/include/gtk-3.0/gtk/gtkdialog.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtkwidget.h:883:23: note: declared here
 void                  gtk_widget_set_double_buffered    (GtkWidget    *widget,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtkutil.c:1217:3: error: ‘gtk_window_set_wmclass’ is deprecated [-Werror=deprecated-declarations]
   gtk_window_set_wmclass (GTK_WINDOW (wtop),
   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkdialog.h:32:0,
                 from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30,
                 from /usr/include/gtk-3.0/gtk/gtk.h:31,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtkwindow.h:154:12: note: declared here
 void       gtk_window_set_wmclass              (GtkWindow           *window,
            ^~~~~~~~~~~~~~~~~~~~~~
gtkutil.c: In function ‘xg_set_toolkit_scroll_bar_thumb’:
gtkutil.c:4083:11: error: ‘gtk_adjustment_changed’ is deprecated [-Werror=deprecated-declarations]
           gtk_adjustment_changed (adj);
           ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:38:0,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtkadjustment.h:87:12: note: declared here
 void       gtk_adjustment_changed               (GtkAdjustment   *adjustment);
            ^~~~~~~~~~~~~~~~~~~~~~
gtkutil.c: In function ‘xg_set_toolkit_horizontal_scroll_bar_thumb’:
gtkutil.c:4120:7: error: ‘gtk_adjustment_changed’ is deprecated [-Werror=deprecated-declarations]
       gtk_adjustment_changed (adj);
       ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:38:0,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtkadjustment.h:87:12: note: declared here
 void       gtk_adjustment_changed               (GtkAdjustment   *adjustment);
            ^~~~~~~~~~~~~~~~~~~~~~
gtkutil.c: In function ‘xg_event_is_for_scrollbar’:
gtkutil.c:4142:9: error: ‘gdk_device_manager_get_client_pointer’ is deprecated [-Werror=deprecated-declarations]
         (gdk_display_get_device_manager (gdpy));
         ^
In file included from /usr/include/gtk-3.0/gdk/gdkdisplay.h:32:0,
                 from /usr/include/gtk-3.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gdk/gdkdevicemanager.h:44:14: note: declared here
 GdkDevice *  gdk_device_manager_get_client_pointer (GdkDeviceManager *device_manager);
              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtkutil.c:4142:9: error: ‘gdk_display_get_device_manager’ is deprecated: Use 'gdk_display_get_default_seat' instead [-Werror=deprecated-declarations]
         (gdk_display_get_device_manager (gdpy));
         ^
In file included from /usr/include/gtk-3.0/gdk/gdkscreen.h:32:0,
                 from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-3.0/gdk/gdk.h:32,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gdk/gdkdisplay.h:171:20: note: declared here
 GdkDeviceManager * gdk_display_get_device_manager (GdkDisplay *display);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtkutil.c: In function ‘xg_make_tool_item’:
gtkutil.c:4615:3: error: ‘gtk_button_set_focus_on_click’ is deprecated: Use 'gtk_widget_set_focus_on_click' instead [-Werror=deprecated-declarations]
   gtk_button_set_focus_on_click (GTK_BUTTON (wb), FALSE);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:54:0,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtkbutton.h:138:23: note: declared here
 void                  gtk_button_set_focus_on_click (GtkButton      *button,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtkutil.c: In function ‘xg_initialize’:
gtkutil.c:5235:3: error: ‘gtk_settings_set_string_property’ is deprecated [-Werror=deprecated-declarations]
   gtk_settings_set_string_property (settings,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:190:0,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtksettings.h:128:10: note: declared here
 void     gtk_settings_set_string_property  (GtkSettings            *settings,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gtkutil.c:5242:3: error: ‘gtk_settings_set_string_property’ is deprecated [-Werror=deprecated-declarations]
   gtk_settings_set_string_property (settings,
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:190:0,
                 from xterm.h:49,
                 from gtkutil.c:32:
/usr/include/gtk-3.0/gtk/gtksettings.h:128:10: note: declared here
 void     gtk_settings_set_string_property  (GtkSettings            *settings,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:374: recipe for target 'gtkutil.o' failed
make: *** [gtkutil.o] Error 1
  CC       emacsgtkfixed.o
  CC       dbusbind.o
  CC       emacs.o
  CC       keyboard.o
  CC       macros.o
  CC       keymap.o
  CC       sysdep.o
  CC       buffer.o
  CC       filelock.o
  CC       insdel.o
  CC       marker.o
  CC       minibuf.o
  CC       fileio.o
  CC       dired.o
  CC       cmds.o
  CC       casetab.o
  CC       casefiddle.o
  CC       indent.o
  CC       search.o
  CC       regex.o
  CC       undo.o
  CC       alloc.o
  CC       data.o
  CC       doc.o
  CC       editfns.o
  CC       callint.o
  CC       eval.o
  CC       floatfns.o
  CC       fns.o
  CC       font.o
  CC       print.o
  CC       lread.o
  CC       dynlib.o
  CC       emacs-module.o
  CC       syntax.o
  CC       unexelf.o
  CC       bytecode.o
  CC       process.o
  CC       gnutls.o
  CC       callproc.o
  CC       region-cache.o
  CC       sound.o
  CC       atimer.o
  CC       doprnt.o
  CC       intervals.o
  CC       textprop.o
  CC       composite.o
  CC       xml.o
  CC       inotify.o
  CC       profiler.o
  CC       decompress.o
  CC       thread.o
  CC       systhread.o
  CC       sheap.o
  CC       xfont.o
  CC       ftfont.o
  CC       xftfont.o
  CC       ftxfont.o
  CC       fontset.o
  CC       fringe.o
  CC       image.o
  CC       xgselect.o
  CC       terminfo.o
  CC       lastfile.o
  CC       gmalloc.o

  reply	other threads:[~2017-08-23 23:26 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-22 20:22 bug#28189: 26.0.50; Emacs uses deprecated function gtk_window_parse_geometry Philipp
2017-08-23  8:46 ` martin rudalics
2017-08-23 10:38   ` Philipp Stephani
2017-08-23 13:19     ` martin rudalics
2017-08-23 23:26       ` Philipp Stephani [this message]
2017-08-24  9:37         ` martin rudalics
2017-08-25  9:28         ` Philipp Stephani
2017-08-26  9:29           ` martin rudalics
2017-08-27 13:34             ` Philipp Stephani
2017-09-03 11:49               ` martin rudalics
2017-09-19 15:35                 ` Philipp Stephani
2017-09-19 16:38                   ` Philipp Stephani
2017-09-23 11:22               ` Philipp Stephani
2017-09-23 13:21                 ` martin rudalics
2017-09-23 13:28                   ` Eli Zaretskii
2017-09-23 16:32                     ` Philipp Stephani
2017-09-23 16:48                       ` Eli Zaretskii
2017-09-23 18:28                     ` martin rudalics
2017-09-23 18:31                       ` Eli Zaretskii
2017-09-23 16:36                   ` Philipp Stephani
2017-09-23 18:29                     ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAArVCkQMp=BYh7-26UKOOD9Jo2Jj2pPPzt8XR_MEZfCBFynMew@mail.gmail.com' \
    --to=p.stephani2@gmail.com \
    --cc=28189@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.