diff options
| author | Basil L. Contovounesios | 2021-05-04 15:08:16 +0100 |
|---|---|---|
| committer | Basil L. Contovounesios | 2021-05-04 15:19:29 +0100 |
| commit | b8f88d76ea79b12d600a090f76cea9d6ec3818f2 (patch) | |
| tree | 43d60675f73b5cc062bd8e9360c9d0935227752b /src | |
| parent | 7d0067f297b131c98a5198eb52d49891a83ac5aa (diff) | |
| download | emacs-b8f88d76ea79b12d600a090f76cea9d6ec3818f2.tar.gz emacs-b8f88d76ea79b12d600a090f76cea9d6ec3818f2.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/gtkutil.c | 2 |
1 files changed, 0 insertions, 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 <https://www.gnu.org/licenses/>. */ | |||
| 81 | gtk_font_selection_dialog_set_font_name (x, y) | 81 | gtk_font_selection_dialog_set_font_name (x, y) |
| 82 | #endif | 82 | #endif |
| 83 | 83 | ||
| 84 | #define gdk_window_get_geometry(w, a, b, c, d) \ | ||
| 85 | gdk_window_get_geometry (w, a, b, c, d, 0) | ||
| 86 | #define gtk_box_new(ori, spacing) \ | 84 | #define gtk_box_new(ori, spacing) \ |
| 87 | ((ori) == GTK_ORIENTATION_HORIZONTAL \ | 85 | ((ori) == GTK_ORIENTATION_HORIZONTAL \ |
| 88 | ? gtk_hbox_new (FALSE, (spacing)) : gtk_vbox_new (FALSE, (spacing))) | 86 | ? gtk_hbox_new (FALSE, (spacing)) : gtk_vbox_new (FALSE, (spacing))) |