mirror of https://github.com/GNOME/gimp.git
fixed reference count of the profile store.
2007-09-12 Sven Neumann <sven@gimp.org> * libgimpwidgets/gimpcolorprofilecombobox.c (gimp_color_profile_combo_box_new): fixed reference count of the profile store. svn path=/trunk/; revision=23511
This commit is contained in:
parent
fec27f1a8b
commit
028d523aeb
|
@ -1,3 +1,9 @@
|
|||
2007-09-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpwidgets/gimpcolorprofilecombobox.c
|
||||
(gimp_color_profile_combo_box_new): fixed reference count of the
|
||||
profile store.
|
||||
|
||||
2007-09-12 Øyvind Kolås <pippin@gimp.org>
|
||||
|
||||
* app/core/gimp-transform-region.c: (supersample_dtest): do not invoke
|
||||
|
|
|
@ -283,12 +283,17 @@ GtkWidget *
|
|||
gimp_color_profile_combo_box_new (GtkWidget *dialog,
|
||||
const gchar *history)
|
||||
{
|
||||
GtkWidget *combo;
|
||||
GtkListStore *store;
|
||||
|
||||
g_return_val_if_fail (GTK_IS_DIALOG (dialog), NULL);
|
||||
|
||||
return g_object_new (GIMP_TYPE_COLOR_PROFILE_COMBO_BOX,
|
||||
"dialog", dialog,
|
||||
"model", gimp_color_profile_store_new (history),
|
||||
NULL);
|
||||
store = gimp_color_profile_store_new (history);
|
||||
combo = gimp_color_profile_combo_box_new_with_model (dialog,
|
||||
GTK_TREE_MODEL (store));
|
||||
g_object_unref (store);
|
||||
|
||||
return combo;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue