Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #731625 ยป 0023-Drop-unused-really_close_connection_dialog.patch

Marko Lindqvist, 2018-10-05 11:28 PM

View differences:

client/gui-gtk-3.0/connectdlg.c
/**********************************************************************//**
Really close and destroy the dialog.
**************************************************************************/
void really_close_connection_dialog(void)
{
}
/**********************************************************************//**
Close and destroy the dialog but only if we don't have a local
server running (that we started).
Close and destroy the dialog.
**************************************************************************/
void close_connection_dialog()
{
if (!is_server_running()) {
really_close_connection_dialog();
}
}
/**********************************************************************//**
client/gui-gtk-3.22/connectdlg.c
/**********************************************************************//**
Really close and destroy the dialog.
**************************************************************************/
void really_close_connection_dialog(void)
{
}
/**********************************************************************//**
Close and destroy the dialog but only if we don't have a local
server running (that we started).
Close and destroy the dialog.
**************************************************************************/
void close_connection_dialog()
{
if (!is_server_running()) {
really_close_connection_dialog();
}
{
}
/**********************************************************************//**
client/gui-gtk-4.0/connectdlg.c
/**********************************************************************//**
Really close and destroy the dialog.
**************************************************************************/
void really_close_connection_dialog(void)
{
}
/**********************************************************************//**
Close and destroy the dialog but only if we don't have a local
server running (that we started).
Close and destroy the dialog.
**************************************************************************/
void close_connection_dialog()
{
if (!is_server_running()) {
really_close_connection_dialog();
}
}
/**********************************************************************//**
client/gui-qt/connectdlg.cpp
#include "connectdlg.h"
#include "fc_client.h"
/**********************************************************************//**
Really close and destroy the dialog.
**************************************************************************/
void really_close_connection_dialog(void)
{
/* PORTME */
}
/**********************************************************************//**
Close and destroy the dialog. But only if we don't have a local
client/gui-sdl2/connectdlg.c
THESE FUNCTIONS ARE ONE BIG TMP SOLUTION AND SHOULD BE FULLY REWRITTEN !!
*/
/**********************************************************************//**
Really close and destroy the dialog.
**************************************************************************/
void really_close_connection_dialog(void)
{
/* PORTME */
}
/**********************************************************************//**
Provide a packet handler for packet_game_load
**************************************************************************/
client/gui-stub/connectdlg.c
#include "connectdlg.h"
#include "packhand_gen.h"
/**********************************************************************//**
Really close and destroy the dialog.
**************************************************************************/
void really_close_connection_dialog(void)
{
/* PORTME */
}
/**********************************************************************//**
Close and destroy the dialog. But only if we don't have a local
client/include/connectdlg_g.h
/**********************************************************************
/***********************************************************************
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
......
#include "gui_proto_constructor.h"
GUI_FUNC_PROTO(void, close_connection_dialog, void)
GUI_FUNC_PROTO(void, really_close_connection_dialog, void)
GUI_FUNC_PROTO(void, server_connect, void)
    (1-1/1)