From b8f88d76ea79b12d600a090f76cea9d6ec3818f2 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Tue, 4 May 2021 15:08:16 +0100 Subject: [PATCH] Remove as of recently unused GDK macro Its only use was removed in the recent change of 2021-04-27 "Major rewrite of adjust_frame_size", announced in the following thread: https://lists.gnu.org/r/emacs-devel/2021-04/msg01162.html * src/gtkutil.c [USE_GTK && !HAVE_GTK3] (gdk_window_get_geometry): Remove unused macro to pacify -Wunused-macros build warning. --- src/gtkutil.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gtkutil.c b/src/gtkutil.c index ba506faf356..dee2a930891 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -81,8 +81,6 @@ along with GNU Emacs. If not, see . */ gtk_font_selection_dialog_set_font_name (x, y) #endif -#define gdk_window_get_geometry(w, a, b, c, d) \ - gdk_window_get_geometry (w, a, b, c, d, 0) #define gtk_box_new(ori, spacing) \ ((ori) == GTK_ORIENTATION_HORIZONTAL \ ? gtk_hbox_new (FALSE, (spacing)) : gtk_vbox_new (FALSE, (spacing))) -- 2.39.2