X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-vbuttonbox.c;h=e1496576a586e9ee042aa3c002d7ce5b2c199136;hb=refs%2Fbuilds%2F20121121031958%2Fpspp;hp=98c2898ce2b4709edacf8d738fff3757e9ae57d7;hpb=6e22b03f96f0edbace5bce45abdc57e94cf6957c;p=pspp diff --git a/src/ui/gui/psppire-vbuttonbox.c b/src/ui/gui/psppire-vbuttonbox.c index 98c2898ce2..e1496576a5 100644 --- a/src/ui/gui/psppire-vbuttonbox.c +++ b/src/ui/gui/psppire-vbuttonbox.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2007 Free Software Foundation + Copyright (C) 2007, 2010, 2011 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 @@ -19,12 +19,9 @@ #include #include -#include #include "psppire-vbuttonbox.h" #include "psppire-dialog.h" -#include - #include #define _(msgid) gettext (msgid) @@ -245,7 +242,7 @@ gtk_vbutton_box_size_allocate (GtkWidget *widget, child = children->data; children = children->next; - if (GTK_WIDGET_VISIBLE (child->widget)) + if (gtk_widget_get_visible (child->widget)) { child_allocation.width = child_width; child_allocation.height = child_height;