static GObject * gimp_color_profile_store_constructor (GType type, guint n_params, GObjectConstructParam *params) { GObject *object; GimpColorProfileStore *store; GtkTreeIter iter; object = G_OBJECT_CLASS (parent_class)->constructor (type, n_params, params); store = GIMP_COLOR_PROFILE_STORE (object); gtk_list_store_append (GTK_LIST_STORE (store), &iter); gtk_list_store_set (GTK_LIST_STORE (store), &iter, GIMP_COLOR_PROFILE_STORE_ITEM_TYPE, GIMP_COLOR_PROFILE_STORE_ITEM_DIALOG, GIMP_COLOR_PROFILE_STORE_LABEL, _("Select color profile from disk..."), -1); if (store->history) { gimp_color_profile_store_load (store, store->history, NULL); } return object; }
static void gimp_color_profile_store_constructed (GObject *object) { GimpColorProfileStore *store = GIMP_COLOR_PROFILE_STORE (object); GtkTreeIter iter; G_OBJECT_CLASS (parent_class)->constructed (object); gtk_list_store_append (GTK_LIST_STORE (store), &iter); gtk_list_store_set (GTK_LIST_STORE (store), &iter, GIMP_COLOR_PROFILE_STORE_ITEM_TYPE, GIMP_COLOR_PROFILE_STORE_ITEM_DIALOG, GIMP_COLOR_PROFILE_STORE_LABEL, _("Select color profile from disk..."), -1); if (store->history) { gimp_color_profile_store_load (store, store->history, NULL); } }