From 09a312d0abb4e78bd513decec943f033640c4dde Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 19 Oct 2021 19:06:36 +0300 Subject: [PATCH 21/21] gtk: Drop obsolete toplevel_accel reference See osdn #43076 Signed-off-by: Marko Lindqvist --- client/gui-gtk-2.0/menu.h | 5 ++--- client/gui-gtk-3.0/menu.h | 5 ++--- client/gui-gtk-3.22/menu.h | 2 -- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/client/gui-gtk-2.0/menu.h b/client/gui-gtk-2.0/menu.h index 914b97552b..4df2200a3c 100644 --- a/client/gui-gtk-2.0/menu.h +++ b/client/gui-gtk-2.0/menu.h @@ -1,4 +1,4 @@ -/********************************************************************** +/*********************************************************************** Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,10 +15,9 @@ #include +/* client/include */ #include "menu_g.h" GtkWidget *setup_menus(GtkWidget *window); -extern GtkAccelGroup *toplevel_accel; - #endif /* FC__MENU_H */ diff --git a/client/gui-gtk-3.0/menu.h b/client/gui-gtk-3.0/menu.h index 914b97552b..4df2200a3c 100644 --- a/client/gui-gtk-3.0/menu.h +++ b/client/gui-gtk-3.0/menu.h @@ -1,4 +1,4 @@ -/********************************************************************** +/*********************************************************************** Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -15,10 +15,9 @@ #include +/* client/include */ #include "menu_g.h" GtkWidget *setup_menus(GtkWidget *window); -extern GtkAccelGroup *toplevel_accel; - #endif /* FC__MENU_H */ diff --git a/client/gui-gtk-3.22/menu.h b/client/gui-gtk-3.22/menu.h index 49bcb55a45..0500e08460 100644 --- a/client/gui-gtk-3.22/menu.h +++ b/client/gui-gtk-3.22/menu.h @@ -20,6 +20,4 @@ GtkWidget *setup_menus(GtkWidget *window); -extern GtkAccelGroup *toplevel_accel; - #endif /* FC__MENU_H */ -- 2.33.0