Re: GtkCellLayout interface



muppet <scott asofyet org> writes:

patch

Looks good.

 void gtk_cell_layout_set_attributes (GtkCellLayout *cell_layout, GtkCellRenderer *cell, ...);
     PREINIT:
      gint i;
@@ -45,38 +399,79 @@ void gtk_cell_layout_set_attributes (Gtk
      if (items < 4 || 0 != (items - 2) % 2)
              croak ("usage: $cell_layout->set_attributes (name => column, ...)\n"

Will "items<4" there reject a call that sets no attributes?
(I think that may be meant to be allowed ... err, without
actually running it to try!)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]