[at-spi2-core] Fix atspi_text_get_bounded_ranges
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Fix atspi_text_get_bounded_ranges
- Date: Wed, 20 Nov 2013 20:43:01 +0000 (UTC)
commit f021e3ce92d668ac72f30abaa81e7af1c6a373fc
Author: Mike Gorse <mgorse suse com>
Date: Wed Nov 20 14:44:45 2013 -0600
Fix atspi_text_get_bounded_ranges
atspi/atspi-text.c | 2 +-
dbind/dbind-any.c | 4 ++++
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c
index 645543a..67510ea 100644
--- a/atspi/atspi-text.c
+++ b/atspi/atspi-text.c
@@ -753,7 +753,7 @@ atspi_text_get_bounded_ranges (AtspiText *obj,
dbus_int32_t d_x = x, d_y = y, d_width = width, d_height = height;
dbus_uint32_t d_type = type;
dbus_uint32_t d_clipTypeX = clipTypeX, d_clipTypeY = clipTypeY;
- GArray *range_seq;
+ GArray *range_seq = NULL;
g_return_val_if_fail (obj != NULL, NULL);
diff --git a/dbind/dbind-any.c b/dbind/dbind-any.c
index aa54479..fdde7b6 100644
--- a/dbind/dbind-any.c
+++ b/dbind/dbind-any.c
@@ -640,6 +640,10 @@ dbind_any_demarshal (DBusMessageIter *iter,
(*type)++;
break;
+ case DBUS_TYPE_VARIANT:
+ /* skip; unimplemented for now */
+ (*type)++;
+ break;
}
case DBUS_TYPE_STRUCT:
case DBUS_TYPE_DICT_ENTRY:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]