[libgda] Fixes for build after commit f029d10d75
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Fixes for build after commit f029d10d75
- Date: Fri, 22 Feb 2019 22:09:09 +0000 (UTC)
commit 19aa083162875efe5d719efc5bffcf2198f68b50
Author: Daniel Espinosa Ortiz <esodan gmail com>
Date: Fri Feb 22 15:07:53 2019 -0600
Fixes for build after commit f029d10d75
libgda/gda-db-column.c | 2 +-
libgda/gda-db-fkey.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgda/gda-db-column.c b/libgda/gda-db-column.c
index fd51968e7..12356edab 100644
--- a/libgda/gda-db-column.c
+++ b/libgda/gda-db-column.c
@@ -590,7 +590,7 @@ void
gda_db_column_set_name (GdaDbColumn *self,
const gchar *name)
{
- g_return_val_if_fail (self, NULL);
+ g_return_if_fail (self);
GdaDbColumnPrivate *priv = gda_db_column_get_instance_private (self);
g_free (priv->mp_name);
diff --git a/libgda/gda-db-fkey.c b/libgda/gda-db-fkey.c
index 8dd5a1f07..3974de5d9 100644
--- a/libgda/gda-db-fkey.c
+++ b/libgda/gda-db-fkey.c
@@ -339,7 +339,7 @@ gda_db_fkey_write_node (GdaDbBuildable *buildable,
{
g_return_val_if_fail (buildable, FALSE);
g_return_val_if_fail (rootnode,FALSE);
- g_return_val_if_fail (error == NULL || *error == NULL, FASLE);
+ g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
GdaDbFkey *self = GDA_DB_FKEY (buildable);
GdaDbFkeyPrivate *priv = gda_db_fkey_get_instance_private (self);
@@ -413,7 +413,7 @@ gda_db_fkey_get_ondelete (GdaDbFkey *self)
GdaDbFkeyReferenceAction
gda_db_fkey_get_ondelete_id (GdaDbFkey *self)
{
- g_return_val_if_fail (self, NULL);
+ g_return_val_if_fail (self, GDA_DB_FKEY_NO_ACTION);
GdaDbFkeyPrivate *priv = gda_db_fkey_get_instance_private (self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]