summaryrefslogtreecommitdiffstats
path: root/databases/libgnomedb
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-23 05:44:36 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-23 05:44:36 +0800
commitae094b322a8b4b265467b05d357246f1b61f8b6c (patch)
treeef61320cb7e71f68f28197ef0bcfe478e46eb16d /databases/libgnomedb
parent00da3aa7df61ad702dea898e042d2bf4341a047f (diff)
downloadmarcuscom-ports-ae094b322a8b4b265467b05d357246f1b61f8b6c.tar
marcuscom-ports-ae094b322a8b4b265467b05d357246f1b61f8b6c.tar.gz
marcuscom-ports-ae094b322a8b4b265467b05d357246f1b61f8b6c.tar.bz2
marcuscom-ports-ae094b322a8b4b265467b05d357246f1b61f8b6c.tar.lz
marcuscom-ports-ae094b322a8b4b265467b05d357246f1b61f8b6c.tar.xz
marcuscom-ports-ae094b322a8b4b265467b05d357246f1b61f8b6c.tar.zst
marcuscom-ports-ae094b322a8b4b265467b05d357246f1b61f8b6c.zip
Fix the build on 4.X.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2540 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases/libgnomedb')
-rw-r--r--databases/libgnomedb/files/patch-libgnomedb_gnome-db-find-dialog.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/libgnomedb/files/patch-libgnomedb_gnome-db-find-dialog.c b/databases/libgnomedb/files/patch-libgnomedb_gnome-db-find-dialog.c
new file mode 100644
index 000000000..27555ef8d
--- /dev/null
+++ b/databases/libgnomedb/files/patch-libgnomedb_gnome-db-find-dialog.c
@@ -0,0 +1,16 @@
+--- libgnomedb/gnome-db-find-dialog.c.orig Thu Jul 22 17:40:26 2004
++++ libgnomedb/gnome-db-find-dialog.c Thu Jul 22 17:41:02 2004
+@@ -216,11 +216,12 @@
+ 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);