summaryrefslogtreecommitdiff
path: root/atspi/atspi-text.c
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2011-01-28 17:46:50 -0600
committerMike Gorse <mgorse@novell.com>2011-01-28 17:46:50 -0600
commit896f7d3befaf580510a7a15b07ce6d3c6140c882 (patch)
tree6e9be3e417e068b46f3df05cf07a01cb352cdc43 /atspi/atspi-text.c
parentd08bc3d2a0d4c56cb14c782962012e2f06c7ec34 (diff)
downloadat-spi2-core-896f7d3befaf580510a7a15b07ce6d3c6140c882.tar.gz
Fix most compiler warnings and various miscellaneous problems
Diffstat (limited to 'atspi/atspi-text.c')
-rw-r--r--atspi/atspi-text.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c
index 9ca2fd8a..81858036 100644
--- a/atspi/atspi-text.c
+++ b/atspi/atspi-text.c
@@ -107,7 +107,7 @@ atspi_text_get_text (AtspiText *obj,
g_return_val_if_fail (obj != NULL, g_strdup (""));
- _atspi_dbus_call (obj, atspi_interface_text, "GetText", error, "ii=>s", start_offset, end_offset, &retval);
+ _atspi_dbus_call (obj, atspi_interface_text, "GetText", error, "ii=>s", d_start_offset, d_end_offset, &retval);
if (!retval)
retval = g_strdup ("");
@@ -161,10 +161,9 @@ atspi_text_get_attributes (AtspiText *obj,
{
dbus_int32_t d_offset = offset;
dbus_int32_t d_start_offset, d_end_offset;
- GHashTable *hash;
DBusMessage *reply;
DBusMessageIter iter;
- GHashTable *ret;
+ GHashTable *ret = NULL;
if (obj == NULL)
return NULL;
@@ -215,10 +214,9 @@ atspi_text_get_attribute_run (AtspiText *obj,
{
dbus_int32_t d_offset = offset;
dbus_int32_t d_start_offset, d_end_offset;
- GHashTable *hash;
DBusMessage *reply;
DBusMessageIter iter;
- GHashTable *ret;
+ GHashTable *ret = NULL;
if (obj == NULL)
return NULL;