]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove as of recently unused GDK macro
authorBasil L. Contovounesios <contovob@tcd.ie>
Tue, 4 May 2021 14:08:16 +0000 (15:08 +0100)
committerBasil L. Contovounesios <contovob@tcd.ie>
Tue, 4 May 2021 14:19:29 +0000 (15:19 +0100)
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

index ba506faf356f91dee2cce0831c76e10761662fd3..dee2a9308914ed9d3d061e62beb71f1ee65c9c68 100644 (file)
@@ -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)))