[maemo-commits] [maemo-commits] r13272 - in projects/haf/trunk/gail: . gail

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Aug 17 12:22:52 EEST 2007
Author: fherrera
Date: 2007-08-17 12:22:50 +0300 (Fri, 17 Aug 2007)
New Revision: 13272

Modified:
   projects/haf/trunk/gail/ChangeLog
   projects/haf/trunk/gail/gail/gailwidget.c
Log:
2007-08-17  Fernando Herrera  <fernando.herrera-de-las-heras at nokia.com>

        * gail/gailwidget.c: (gail_widget_get_index_in_parent): don't use
        GAIL_IS_CANVAS_WIDGET unless ENABLE_GNOME is defined. Patch from
        Teemu Virolainen.




Modified: projects/haf/trunk/gail/ChangeLog
===================================================================
--- projects/haf/trunk/gail/ChangeLog	2007-08-16 16:16:38 UTC (rev 13271)
+++ projects/haf/trunk/gail/ChangeLog	2007-08-17 09:22:50 UTC (rev 13272)
@@ -1,3 +1,9 @@
+2007-08-17  Fernando Herrera  <fernando.herrera-de-las-heras at nokia.com>
+
+	* gail/gailwidget.c: (gail_widget_get_index_in_parent): don't use
+	GAIL_IS_CANVAS_WIDGET unless ENABLE_GNOME is defined. Patch from
+	Teemu Virolainen.
+
 2007-06-08  Fernando Herrera  <fernando.herrera-de-las-heras at nokia.com>
 
 	* Makefile.in:

Modified: projects/haf/trunk/gail/gail/gailwidget.c
===================================================================
--- projects/haf/trunk/gail/gail/gailwidget.c	2007-08-16 16:16:38 UTC (rev 13271)
+++ projects/haf/trunk/gail/gail/gailwidget.c	2007-08-17 09:22:50 UTC (rev 13272)
@@ -586,10 +586,13 @@
       AtkObject *parent;
 
       parent = accessible->accessible_parent;
-
+#ifdef ENABLE_GNOME
       if (GAIL_IS_NOTEBOOK_PAGE (parent) ||
           GAIL_IS_CANVAS_WIDGET (parent))
-        return 0;
+#else
+	      if (GAIL_IS_NOTEBOOK_PAGE (parent))
+#endif
+	return 0;      
       else
         {
           gint n_children, i;


More information about the maemo-commits mailing list