From 15408549e52e504cb1f7147cd21244072b3d2acd Mon Sep 17 00:00:00 2001 From: perry.werneck@gmail.com Date: Wed, 11 Dec 2013 01:06:48 +0000 Subject: [PATCH] Evitando redundancias no dialogo de configuracao de hostname --- hostselect.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/hostselect.c b/hostselect.c index 3514823..5b59617 100644 --- a/hostselect.c +++ b/hostselect.c @@ -28,22 +28,11 @@ */ #include "hostselect.h" + #include #include /*--[ Widget definition ]----------------------------------------------------------------------------*/ - static const struct _host_type - { - const gchar * description; - LIB3270_OPTION option; - } host_type[] = - { - { N_( "IBM S/390" ), LIB3270_OPTION_S390 }, - { N_( "IBM AS/400" ), LIB3270_OPTION_AS400 }, - { N_( "Other (TSO)" ), LIB3270_OPTION_TSO }, - { N_( "Other (VM/CMS)" ), 0 } - }; - static const struct _colortable { unsigned short colors; @@ -191,11 +180,12 @@ static void V3270HostSelectWidget_init(V3270HostSelectWidget *widget) gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(widget->combo[0]), renderer, TRUE); gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(widget->combo[0]), renderer, "text", 0, NULL); - for(f=0;fcombo[0]),"changed",G_CALLBACK(systype_changed),widget); -- libgit2 0.21.2