X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-selector.c;h=17d1c1fd66e1c52d1252277d939b897409dccb2d;hb=6ede2c036dd0520562bbeb31e02dfdc938403921;hp=32e6ce126ca6ce621906cb042001b55c03b2bda8;hpb=c8f16e229dede3bf3ec30c329cccc6924778553a;p=pspp diff --git a/src/ui/gui/psppire-selector.c b/src/ui/gui/psppire-selector.c index 32e6ce126c..17d1c1fd66 100644 --- a/src/ui/gui/psppire-selector.c +++ b/src/ui/gui/psppire-selector.c @@ -133,8 +133,6 @@ static GObjectClass * parent_class = NULL; -#define SELECTOR_DEBUGGING 0 - static void dump_hash_entry (gpointer key, gpointer value, gpointer obj) { @@ -1055,8 +1053,7 @@ psppire_selector_update_subjects (PsppireSelector *selector) g_error ("Unsupported destination widget: %s", G_OBJECT_TYPE_NAME (selector->dest)); - /* FIXME: Remove this dependency */ - if ( PSPPIRE_IS_DICT_VIEW (selector->source) ) + if ( PSPPIRE_IS_DICT_VIEW (selector->source) && selector->select_items == NULL) { GObjectClass *class = G_OBJECT_GET_CLASS (selector); GType type = G_OBJECT_TYPE (selector->dest);