• Tim Janik's avatar
    new function. (gtk_clist_insert): added g_return_val_if_fail() statements. · b89ed0c3
    Tim Janik authored
    Thu Oct  1 10:40:20 1998  Tim Janik  <timj@gtk.org>
            * gtk/gtkclist.h (gtk_clist_prepend):
            * gtk/gtkclist.c (gtk_clist_prepend): new function.
            (gtk_clist_insert): added g_return_val_if_fail()
            statements. accept a row parameter < 0 or > clist->rows to indicate
            append mode.
            (real_clear): first clean up all internal pointers and lists (e.g.
            clist->row_list or clist->rows), then delete the distinct rows. this
            is required because of destroy notifiers, we need to have all internal
            structures updated and be reentrant.
            * gtk/gtkcalendar.h:
            * gtk/gtkcalendar.c: removed the `gtk_calendar_' prefix from the
            GtkCalendarClass signal methods.
            GtkType and macro fixups, put `void' into () prototypes, avoid C++
            style comments, indentation fixes, fixed some g_return_if_fail()
            (gtk_calendar_paint_main): made these static functions.
            (gtk_calendar_get_date): signedness corrections, use guints
            rather than gints.
            (gtk_calendar_size_request): removed unused variables.
gtkcalendar.c 71.3 KB