#include <glib-object.h>
#include <glib/gi18n-lib.h>
-#ifdef G_OS_WIN32
-#define STRICT
-#include <windows.h>
-#undef STRICT
-#undef FOCUS_EVENT /* <windows.h> pollutes the namespace
- * like a six hundred pound gorilla */
-#endif
-
#include "atk.h"
#include "atkmarshal.h"
#include "atkprivate.h"
static const gchar* const atk_object_name_property_table_caption_object = "accessible-table-caption-object";
static const gchar* const atk_object_name_property_hypertext_num_links = "accessible-hypertext-nlinks";
-#ifdef G_OS_WIN32
-
-static HMODULE atk_dll;
-
-BOOL WINAPI
-DllMain (HINSTANCE hinstDLL,
- DWORD fdwReason,
- LPVOID lpvReserved)
-{
- switch (fdwReason)
- {
- case DLL_PROCESS_ATTACH:
- atk_dll = (HMODULE) hinstDLL;
- break;
- }
-
- return TRUE;
-}
-
-#endif
-
static void
initialize_role_names ()
{
PROP_NAME,
g_param_spec_string (atk_object_name_property_name,
_("Accessible Name"),
- _("Object instance\'s name formatted for assistive technology access"),
+ _("Object instance’s name formatted for assistive technology access"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
* The signal "focus-event" is emitted when an object gained or lost
* focus.
*
- * Deprecated: Since 2.9.4. Use #AtkObject::state-change signal instead.
+ * Deprecated: 2.9.4: Use the #AtkObject::state-change signal instead.
*/
atk_object_signals[FOCUS_EVENT] =
g_signal_new ("focus_event",
* @state: an #AtkState whose state is changed
* @value: a gboolean which indicates whether the state is being set on or off
*
- * Emits a state-change signal for the specified state.
+ * Emits a state-change signal for the specified state.
+ *
+ * Note that as a general rule when the state of an existing object changes,
+ * emitting a notification is expected.
**/
void
atk_object_notify_state_change (AtkObject *accessible,