Cast result of g_value_dup_object() to GIMP_CONTEXT().

2004-12-16  Manish Singh  <yosh@gimp.org>

        * app/widgets/gimppdbdialog.c (gimp_pdb_dialog_set_property): Cast
        result of g_value_dup_object() to GIMP_CONTEXT().
This commit is contained in:
Manish Singh 2004-12-16 22:52:32 +00:00 committed by Manish Singh
parent 0dd3e4a721
commit 608efddb91
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-12-16 Manish Singh <yosh@gimp.org>
* app/widgets/gimppdbdialog.c (gimp_pdb_dialog_set_property): Cast
result of g_value_dup_object() to GIMP_CONTEXT().
2004-12-16 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* plug-ins/script-fu/scripts/circuit.scm: don't try to

View File

@ -224,7 +224,7 @@ gimp_pdb_dialog_set_property (GObject *object,
switch (property_id)
{
case PROP_CONTEXT:
dialog->caller_context = g_value_dup_object (value);
dialog->caller_context = GIMP_CONTEXT (g_value_dup_object (value));
break;
case PROP_SELECT_TYPE:
dialog->select_type = (GType) g_value_get_pointer (value);