[libgda/LIBGDA_5.2] GdaVconnectionDataModel: fix warning to use GRecMutex instead
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/LIBGDA_5.2] GdaVconnectionDataModel: fix warning to use GRecMutex instead
- Date: Thu, 10 Oct 2019 00:12:52 +0000 (UTC)
commit 4ab68b0c9e7b75e53f2961dbe925a4be91b97cfb
Author: Daniel Espinosa <esodan gmail com>
Date: Wed Oct 9 19:11:25 2019 -0500
GdaVconnectionDataModel: fix warning to use GRecMutex instead
libgda/sqlite/virtual/gda-vconnection-data-model-private.h | 2 +-
tools/Makefile.am | 6 +++++-
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/libgda/sqlite/virtual/gda-vconnection-data-model-private.h
b/libgda/sqlite/virtual/gda-vconnection-data-model-private.h
index 8d6ec27cf..562a9a281 100644
--- a/libgda/sqlite/virtual/gda-vconnection-data-model-private.h
+++ b/libgda/sqlite/virtual/gda-vconnection-data-model-private.h
@@ -46,7 +46,7 @@ struct VContext{
struct ExecContext {
VContext *current_vcontext;
- GMutex *mutex;
+ GRecMutex *mutex;
GHashTable *hash; /* key = a GObject, value = a VContext where @context_object == key */
};
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 271231682..39314fe80 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -6,7 +6,11 @@ if LDAP
ldap_flags=-DHAVE_LDAP
endif
-SUBDIRS = cmdtool $(BROWSER_DIR) help
+SUBDIRS = cmdtool $(BROWSER_DIR)
+
+if HAVE_GDU
+SUBDIRS += help
+endif
bin_PROGRAMS = \
gda-list-config-5.0 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]