emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b8f88d7: Remove as of recently unused GDK macro


From: Basil L. Contovounesios
Subject: master b8f88d7: Remove as of recently unused GDK macro
Date: Tue, 4 May 2021 10:21:36 -0400 (EDT)

branch: master
commit b8f88d76ea79b12d600a090f76cea9d6ec3818f2
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    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 ba506fa..dee2a93 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -81,8 +81,6 @@ along with GNU Emacs.  If not, see 
<https://www.gnu.org/licenses/>.  */
   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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]