X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Ffe-text%2Fgui-windows.c;fp=apps%2Firssi%2Fsrc%2Ffe-text%2Fgui-windows.c;h=4213149d547bef9ddff434a3ec38dc34412cdedd;hb=18d69a0a1fec438e241bb4f431506ed59a34066b;hp=1e7316f4c33edc6af6d9231ba3df800a3706226a;hpb=f7be6adec0248118cddde9b04522c13cd90568cd;p=silc.git diff --git a/apps/irssi/src/fe-text/gui-windows.c b/apps/irssi/src/fe-text/gui-windows.c index 1e7316f4..4213149d 100644 --- a/apps/irssi/src/fe-text/gui-windows.c +++ b/apps/irssi/src/fe-text/gui-windows.c @@ -13,9 +13,9 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include "module.h" @@ -68,7 +68,7 @@ static void sig_window_create_override(gpointer tab) static void gui_window_created(WINDOW_REC *window, void *automatic) { MAIN_WINDOW_REC *parent; - int empty_window, new_parent; + int new_parent; g_return_if_fail(window != NULL); @@ -84,8 +84,6 @@ static void gui_window_created(WINDOW_REC *window, void *automatic) } window_create_override = -1; - empty_window = parent->active == NULL; - if (parent->active == NULL) parent->active = window; window->gui_data = gui_window_init(window, parent);