]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtklist.c
Changed LGPL address for FSF in all .h and .c files
[~andy/gtk] / gtk / gtklist.c
index 076777be815b9070c8cff0bbe6e44be7543acbb8..cd47c69851ad4947b23fbebbc7f06f2207f852a2 100644 (file)
@@ -12,8 +12,9 @@
  * Library General Public License for more details.
  *
  * You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
  */
 #include "gtklist.h"
 #include "gtklistitem.h"
@@ -789,7 +790,7 @@ gtk_list_size_allocate (GtkWidget     *widget,
     {
       child_allocation.x = GTK_CONTAINER (list)->border_width;
       child_allocation.y = GTK_CONTAINER (list)->border_width;
-      child_allocation.width = MAX (0, allocation->width - child_allocation.x * 2);
+      child_allocation.width = MAX (1, allocation->width - child_allocation.x * 2);
 
       children = list->children;