X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fpsppire-window-register.c;h=6bb2b7cb2f0e6b7934bb4976621a3f0c723a72b4;hb=9c5440448a9999db5515937c85a3f37deb033efa;hp=dbab4b18c7d4f84bb56d773f29677621d113ee10;hpb=00eed9ff5d2081f77b699e6ee35a5ac22c65b229;p=pspp diff --git a/src/ui/gui/psppire-window-register.c b/src/ui/gui/psppire-window-register.c index dbab4b18c7..6bb2b7cb2f 100644 --- a/src/ui/gui/psppire-window-register.c +++ b/src/ui/gui/psppire-window-register.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2008 Free Software Foundation + Copyright (C) 2008 Free Software Foundation 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 @@ -82,7 +82,7 @@ psppire_window_register_construct (GType type, GObjectConstructParam *construct_params) { GObject *object; - + if (!the_instance) { object = G_OBJECT_CLASS (parent_class)->constructor (type, @@ -146,13 +146,11 @@ psppire_window_register_insert (PsppireWindowRegister *wr, PsppireWindow *window g_signal_emit (wr, signals[INSERTED], 0, name); } - void psppire_window_register_remove (PsppireWindowRegister *wr, const gchar *name) { - g_signal_emit (wr, signals[REMOVED], 0, name); - g_hash_table_remove (wr->name_table, (gpointer) name); + g_signal_emit (wr, signals[REMOVED], 0, name); } PsppireWindow *