[gtk+] a11y: Stop listening for configure events
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] a11y: Stop listening for configure events
- Date: Tue, 19 Sep 2017 17:18:31 +0000 (UTC)
commit 0554f6372bad0d69571169d5fdd6391504f77e22
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 28 18:52:48 2017 -0400
a11y: Stop listening for configure events
This needs to be done differently.
gtk/a11y/gtkaccessibility.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/a11y/gtkaccessibility.c b/gtk/a11y/gtkaccessibility.c
index 928f866..6cf86b0 100644
--- a/gtk/a11y/gtkaccessibility.c
+++ b/gtk/a11y/gtkaccessibility.c
@@ -841,6 +841,7 @@ state_event_watcher (GSignalInvocationHint *hint,
return FALSE;
}
+#if 0
static gboolean
configure_event_watcher (GSignalInvocationHint *hint,
guint n_param_values,
@@ -888,6 +889,7 @@ configure_event_watcher (GSignalInvocationHint *hint,
return FALSE;
}
+#endif
static gboolean
window_focus (GtkWidget *widget,
@@ -959,8 +961,10 @@ do_window_event_initialization (void)
g_type_class_ref (GTK_TYPE_WINDOW_ACCESSIBLE);
g_signal_add_emission_hook (g_signal_lookup ("window-state-event", GTK_TYPE_WIDGET),
0, state_event_watcher, NULL, (GDestroyNotify) NULL);
+#if 0
g_signal_add_emission_hook (g_signal_lookup ("configure-event", GTK_TYPE_WIDGET),
0, configure_event_watcher, NULL, (GDestroyNotify) NULL);
+#endif
root = atk_get_root ();
g_signal_connect (root, "children-changed::add", (GCallback) window_added, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]