This commit is contained in:
Alexia Death 2009-08-07 20:45:16 +03:00
parent ac58002f57
commit 7adb01a589
2 changed files with 3 additions and 4 deletions

View File

@ -210,7 +210,7 @@ GtkWidget *
gimp_dynamics_editor_new (GimpContext *context,
GimpMenuFactory *menu_factory)
{
//g_return_val_if_fail (GIMP_IS_MENU_FACTORY (menu_factory), NULL);
g_return_val_if_fail (GIMP_IS_MENU_FACTORY (menu_factory), NULL);
g_return_val_if_fail (GIMP_IS_CONTEXT (context), NULL);
return g_object_new (GIMP_TYPE_DYNAMICS_EDITOR,

View File

@ -50,9 +50,8 @@ struct _GimpDynamicsEditorClass
GType gimp_dynamics_editor_get_type (void) G_GNUC_CONST;
//GtkWidget * gimp_dynamics_editor_new (GimpMenuFactory *menu_factory)
gimp_dynamics_editor_new (GimpContext *context,
GimpMenuFactory *menu_factory);
GtkWidget * gimp_dynamics_editor_new (GimpContext *context,
GimpMenuFactory *menu_factory);