Bug #2148 » 0055-gtk-Drop-unused-city_dialog_shell_is_modal.patch
| client/gui-gtk-3.22/cityrep.c | ||
|---|---|---|
|
static GtkWidget *select_wonders_item;
|
||
|
static GtkWidget *select_cma_item;
|
||
|
static int city_dialog_shell_is_modal;
|
||
|
bool select_menu_cached;
|
||
|
/************************************************************************//**
|
||
| ... | ... | |
|
void city_report_dialog_popup(bool raise)
|
||
|
{
|
||
|
if (!city_dialog_shell) {
|
||
|
city_dialog_shell_is_modal = FALSE;
|
||
|
create_city_report_dialog(FALSE);
|
||
|
select_menu_cached = FALSE;
|
||
| client/gui-gtk-4.0/cityrep.c | ||
|---|---|---|
|
static GMenu *wndr_a_select_menu;
|
||
|
static GMenu *governor_select_menu;
|
||
|
static int city_dialog_shell_is_modal;
|
||
|
static GMenu *cityrep_menu;
|
||
|
static GActionGroup *cityrep_group;
|
||
|
static GMenu *display_menu;
|
||
| ... | ... | |
|
void city_report_dialog_popup(bool raise)
|
||
|
{
|
||
|
if (!city_dialog_shell) {
|
||
|
city_dialog_shell_is_modal = FALSE;
|
||
|
create_city_report_dialog(FALSE);
|
||
|
}
|
||
| client/gui-gtk-5.0/cityrep.c | ||
|---|---|---|
|
static GMenu *wndr_a_select_menu;
|
||
|
static GMenu *governor_select_menu;
|
||
|
static int city_dialog_shell_is_modal;
|
||
|
static GMenu *cityrep_menu;
|
||
|
static GActionGroup *cityrep_group;
|
||
|
static GMenu *display_menu;
|
||
| ... | ... | |
|
void city_report_dialog_popup(bool raise)
|
||
|
{
|
||
|
if (!city_dialog_shell) {
|
||
|
city_dialog_shell_is_modal = FALSE;
|
||
|
create_city_report_dialog(FALSE);
|
||
|
}
|
||