summaryrefslogtreecommitdiff
path: root/atspi/atspi-application.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2012-04-06 16:06:04 -0500
committerMike Gorse <mgorse@suse.com>2012-04-06 16:06:04 -0500
commitf2f3ce25b78b759612cf7b426695c0235e736ed7 (patch)
tree6f75a0d1679b5c030916461fb6d2160fc6dfa7e0 /atspi/atspi-application.h
parent37171ce568201a2942e543c3f6af6db4da5cb194 (diff)
downloadat-spi2-core-f2f3ce25b78b759612cf7b426695c0235e736ed7.tar.gz
Add startup_time parameter to atspi_set_timeout
Add a parameter to allow timeouts not to be enforced until an application has been running for a given amount of time. Might help prevent timeout exceptions for applications that get bogged down performing tasks at initialization. See https://bugzilla.gnome.org/show_bug.cgi?id=672784
Diffstat (limited to 'atspi/atspi-application.h')
-rw-r--r--atspi/atspi-application.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/atspi/atspi-application.h b/atspi/atspi-application.h
index f209275a..2627038c 100644
--- a/atspi/atspi-application.h
+++ b/atspi/atspi-application.h
@@ -28,6 +28,7 @@
#include <dbus/dbus.h>
#include "atspi-accessible.h"
+#include <sys/time.h>
#define ATSPI_TYPE_APPLICATION (atspi_application_get_type ())
#define ATSPI_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ATSPI_TYPE_APPLICATION, AtspiApplication))
@@ -48,6 +49,7 @@ struct _AtspiApplication
gchar *toolkit_name;
gchar *toolkit_version;
gchar *atspi_version;
+ struct timeval time_added;
};
typedef struct _AtspiApplicationClass AtspiApplicationClass;