Commit 703125db authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

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.
parent f346159e
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
......
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment