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:
@ -137,15 +137,6 @@ gimp_color_profile_chooser_dialog_constructed (GObject *object)
|
||||
NULL);
|
||||
}
|
||||
|
||||
GtkWidget *
|
||||
gimp_color_profile_chooser_dialog_new (const gchar *title)
|
||||
{
|
||||
|
||||
return g_object_new (GIMP_TYPE_COLOR_PROFILE_CHOOSER_DIALOG,
|
||||
"title", title,
|
||||
NULL);
|
||||
}
|
||||
|
||||
/* Add shortcuts for default ICC profile locations */
|
||||
static gboolean
|
||||
add_shortcut (GimpColorProfileChooserDialog *dialog,
|
||||
|
||||
@ -55,9 +55,8 @@ struct _GimpColorProfileChooserDialogClass
|
||||
};
|
||||
|
||||
|
||||
GType gimp_color_profile_chooser_dialog_get_type (void) G_GNUC_CONST;
|
||||
GType gimp_color_profile_chooser_dialog_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GtkWidget * gimp_color_profile_chooser_dialog_new (const gchar *title);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
@ -74,7 +74,6 @@ EXPORTS
|
||||
gimp_color_notebook_set_has_page
|
||||
gimp_color_picker_cursors_get_resource
|
||||
gimp_color_profile_chooser_dialog_get_type
|
||||
gimp_color_profile_chooser_dialog_new
|
||||
gimp_color_profile_combo_box_add
|
||||
gimp_color_profile_combo_box_add_file
|
||||
gimp_color_profile_combo_box_get_active
|
||||
|
||||
Reference in New Issue
Block a user