From 703125db20330ca0a77939741054eba6a0d37974 Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sat, 4 Jun 2005 01:44:52 +0000 Subject: [PATCH] create the layer combo with the right type. 2005-06-03 Manish Singh * libgimp/gimpdrawablecombobox.c: create the layer combo with the right type. --- ChangeLog | 5 +++++ libgimp/gimpdrawablecombobox.c | 4 ++-- libgimp/gimpitemcombobox.c | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e615039230..861763a0c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-06-03 Manish Singh + + * libgimp/gimpdrawablecombobox.c: create the layer combo with the + right type. + 2005-06-03 Manish Singh * tools/pdbgen/Makefile.am diff --git a/libgimp/gimpdrawablecombobox.c b/libgimp/gimpdrawablecombobox.c index fa7c1d0dff..f7ce75d1c9 100644 --- a/libgimp/gimpdrawablecombobox.c +++ b/libgimp/gimpdrawablecombobox.c @@ -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); diff --git a/libgimp/gimpitemcombobox.c b/libgimp/gimpitemcombobox.c index fa7c1d0dff..f7ce75d1c9 100644 --- a/libgimp/gimpitemcombobox.c +++ b/libgimp/gimpitemcombobox.c @@ -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);