libgimpwidgets: remove gimp_color_profile_chooser_dialog_new()
Its API was too limited, and adding parameters for what we need next would be equally random. It's a rarely used and mostly internal widget, so simply use g_object_new().
This commit is contained in:
@ -301,7 +301,9 @@ cdisplay_proof_configure (GimpColorDisplay *display)
|
||||
gtk_table_set_col_spacings (GTK_TABLE (table), 6);
|
||||
gtk_table_set_row_spacings (GTK_TABLE (table), 6);
|
||||
|
||||
dialog = gimp_color_profile_chooser_dialog_new (_("Choose an ICC Color Profile"));
|
||||
dialog = g_object_new (GIMP_TYPE_COLOR_PROFILE_CHOOSER_DIALOG,
|
||||
"title", _("Choose an ICC Color Profile"),
|
||||
NULL);
|
||||
|
||||
history = gimp_personal_rc_file ("profilerc");
|
||||
combo = gimp_color_profile_combo_box_new (dialog, history);
|
||||
|
||||
Reference in New Issue
Block a user