[rygel-gst-0-10-plugins/wip/tracking: 2/8] Add unsigned int typed GValue support to database cursor.
- From: Krzesimir Nowak <krnowak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel-gst-0-10-plugins/wip/tracking: 2/8] Add unsigned int typed GValue support to database cursor.
- Date: Fri, 22 Feb 2013 12:32:06 +0000 (UTC)
commit 08f7dba6c01d640e87aa1b34ad001c5b29f0c203
Author: Krzesimir Nowak <krnowak openismus com>
Date: Fri Feb 22 11:11:35 2013 +0100
Add unsigned int typed GValue support to database cursor.
.../rygel-media-export-database-cursor.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/media-export/rygel-media-export-database-cursor.c
b/src/media-export/rygel-media-export-database-cursor.c
index bcae99f..403e96d 100644
--- a/src/media-export/rygel-media-export-database-cursor.c
+++ b/src/media-export/rygel-media-export-database-cursor.c
@@ -96,6 +96,8 @@ rygel_media_export_database_cursor_new (sqlite3 *db,
sqlite3_bind_int64 (stmt, iter, (gint64) g_value_get_uint64 (current_value));
} else if (G_VALUE_HOLDS (current_value, G_TYPE_LONG)) {
sqlite3_bind_int64 (stmt, iter, (gint64) g_value_get_long (current_value));
+ } else if (G_VALUE_HOLDS (current_value, G_TYPE_UINT)) {
+ sqlite3_bind_int64 (stmt, iter, (gint64) g_value_get_uint (current_value));
} else if (G_VALUE_HOLDS (current_value, G_TYPE_STRING)) {
sqlite3_bind_text (stmt, iter, g_value_dup_string (current_value), -1, g_free);
} else if (G_VALUE_HOLDS (current_value, G_TYPE_POINTER)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]