$NetBSD: patch-aa,v 1.8 2006/02/04 17:03:16 wiz Exp $ --- libgnomedb/gnome-db-find-dialog.c.orig 2005-04-13 18:26:30.000000000 +0200 +++ libgnomedb/gnome-db-find-dialog.c @@ -216,11 +216,12 @@ gnome_db_find_dialog_new (const gchar *t GtkWidget * gnome_db_find_dialog_new_with_model (const gchar *title, GdaDataModel *dm) { + GnomeDbFindDialog *dialog; g_return_val_if_fail (GDA_IS_DATA_MODEL (dm), NULL); g_object_ref (dm); - GnomeDbFindDialog *dialog = gnome_db_find_dialog_new (title); + dialog = gnome_db_find_dialog_new (title); gnome_db_find_dialog_add_fields_from_model (dialog, dm); g_object_unref (dm);