[gtk+] switch: Use the right value for comparison
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] switch: Use the right value for comparison
- Date: Mon, 29 Nov 2010 13:24:07 +0000 (UTC)
commit 9ad31a5a2117f8fb0c24b0ff4afc41a1daf26118
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Mon Nov 29 13:23:28 2010 +0000
switch: Use the right value for comparison
gtk/gtkswitch.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkswitch.c b/gtk/gtkswitch.c
index 8fd406f..a73e25b 100644
--- a/gtk/gtkswitch.c
+++ b/gtk/gtkswitch.c
@@ -965,7 +965,7 @@ gtk_switch_accessible_get_type (void)
* for GtkWidget; if Gail is being used then this means GailWidget.
*/
factory = atk_registry_get_factory (atk_get_default_registry (), GTK_TYPE_WIDGET);
- if (factory == G_TYPE_INVALID)
+ if (factory == NULL)
return G_TYPE_INVALID;
parent_atk_type = atk_object_factory_get_accessible_type (factory);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]