• Matthias Clasen's avatar
    dropdown: Revise constructors · f7ab6f66
    Matthias Clasen authored
    A dropdown without a model is useless, so accept a model
    and expression in the constructor. Allow them to be NULL,
    but consume them if given. This makes chained constructors
    convenient without breaking language bindings.
    
    Drop gtk_drop_down_set_from_strings() and instead add
    gtk_drop_down_new_from_strings().
    
    Update all users.
    f7ab6f66
gtkdropdown.h 3.51 KB