From: John Darrington Date: Thu, 27 Nov 2008 06:13:54 +0000 (+0900) Subject: Removed condition which was always true X-Git-Tag: v0.7.1~107^2 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=889d227953626cc1c5d24800861aa6fc5ccd0580;p=pspp-builds.git Removed condition which was always true --- diff --git a/lib/gtksheet/gtksheet.c b/lib/gtksheet/gtksheet.c index 3bb6bcab..feeeaafa 100644 --- a/lib/gtksheet/gtksheet.c +++ b/lib/gtksheet/gtksheet.c @@ -4568,15 +4568,8 @@ create_sheet_entry (GtkSheet *sheet) gtk_widget_unparent (sheet->entry_widget); } - if (sheet->entry_type) - { - sheet->entry_widget = g_object_new (sheet->entry_type, NULL); - g_object_ref_sink (sheet->entry_widget); - } - else - { - sheet->entry_widget = gtk_entry_new (); - } + sheet->entry_widget = g_object_new (sheet->entry_type, NULL); + g_object_ref_sink (sheet->entry_widget); gtk_widget_size_request (sheet->entry_widget, NULL);