use g_type_name(dialog_type) instead of just "pdb dialog" as name for the

2004-09-09  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimppdbdialog.c (gimp_pdb_dialog_constructor): use
	g_type_name(dialog_type) instead of just "pdb dialog" as name for
	the dialog's private context.
This commit is contained in:
Michael Natterer 2004-09-09 11:48:45 +00:00 committed by Michael Natterer
parent 04b784ec43
commit d7fc14fbc8
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-09-09 Michael Natterer <mitch@gimp.org>
* app/widgets/gimppdbdialog.c (gimp_pdb_dialog_constructor): use
g_type_name(dialog_type) instead of just "pdb dialog" as name for
the dialog's private context.
2004-09-09 Michael Natterer <mitch@gimp.org>
* app/gui/convert-dialog.[ch] (convert_dialog_new): changed

View File

@ -186,7 +186,7 @@ gimp_pdb_dialog_constructor (GType type,
g_assert (g_type_is_a (dialog->select_type, GIMP_TYPE_OBJECT));
dialog->context = gimp_context_new (dialog->context->gimp,
"pdb selection", /* gtk_window_get_title (GTK_WINDOW (object)), */
g_type_name (type),
NULL);
gimp_context_set_by_type (dialog->context, dialog->select_type,