create the layer combo with the right type.

2005-06-03  Manish Singh  <yosh@gimp.org>

        * libgimp/gimpdrawablecombobox.c: create the layer combo with the
        right type.
This commit is contained in:
Manish Singh 2005-06-04 01:44:52 +00:00 committed by Manish Singh
parent f346159e6a
commit 703125db20
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-06-03 Manish Singh <yosh@gimp.org>
* libgimp/gimpdrawablecombobox.c: create the layer combo with the
right type.
2005-06-03 Manish Singh <yosh@gimp.org>
* tools/pdbgen/Makefile.am

View File

@ -99,7 +99,7 @@ static const GtkTargetEntry targets[] =
G_DEFINE_TYPE(GimpDrawableComboBox,
gimp_drawable_combo_box,
GIMP_TYPE_INT_COMBO_BOX);
GIMP_TYPE_INT_COMBO_BOX);
static void
gimp_drawable_combo_box_class_init (GimpDrawableComboBoxClass *klass)
@ -317,7 +317,7 @@ gimp_layer_combo_box_new (GimpDrawableConstraintFunc constraint,
gint num_images;
gint i;
combo_box = g_object_new (GIMP_TYPE_CHANNEL_COMBO_BOX,
combo_box = g_object_new (GIMP_TYPE_LAYER_COMBO_BOX,
"width-request", WIDTH_REQUEST,
"ellipsize", PANGO_ELLIPSIZE_MIDDLE,
NULL);

View File

@ -99,7 +99,7 @@ static const GtkTargetEntry targets[] =
G_DEFINE_TYPE(GimpDrawableComboBox,
gimp_drawable_combo_box,
GIMP_TYPE_INT_COMBO_BOX);
GIMP_TYPE_INT_COMBO_BOX);
static void
gimp_drawable_combo_box_class_init (GimpDrawableComboBoxClass *klass)
@ -317,7 +317,7 @@ gimp_layer_combo_box_new (GimpDrawableConstraintFunc constraint,
gint num_images;
gint i;
combo_box = g_object_new (GIMP_TYPE_CHANNEL_COMBO_BOX,
combo_box = g_object_new (GIMP_TYPE_LAYER_COMBO_BOX,
"width-request", WIDTH_REQUEST,
"ellipsize", PANGO_ELLIPSIZE_MIDDLE,
NULL);