gtk_combo_set_propdown_strings()



Hi guys,

gtk_combo_set_popdown_strings (GtkCombo * combo, GList * strings)
{
  GList *list;
  GtkWidget *li;

  g_return_if_fail (combo != NULL);
  g_return_if_fail (GTK_IS_COMBO (combo));
  g_return_if_fail (strings != NULL);
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Why is this g_return_if_fail() there ?
IMO the most intuitive way to clear the list of popdown strings is
to call this function with strings == NULL - and I also don't see
any other way to do this.

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




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