[maemo-commits] [maemo-commits] r15230 - in projects/haf/trunk/hildon-1: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Feb 26 14:50:36 EET 2008
Author: herzi
Date: 2008-02-26 14:50:31 +0200 (Tue, 26 Feb 2008)
New Revision: 15230

Modified:
   projects/haf/trunk/hildon-1/ChangeLog
   projects/haf/trunk/hildon-1/src/hildon-date-editor.c
   projects/haf/trunk/hildon-1/src/hildon-number-editor.c
   projects/haf/trunk/hildon-1/src/hildon-time-editor.c
   projects/haf/trunk/hildon-1/src/hildon-weekday-picker.c
Log:
2008-02-26  Sven Herzberg  <sven at imendio.com>

	Fixes: MB#2981: Build with asserts broken

	* src/hildon-date-editor.c,
	* src/hildon-number-editor.c,
	* src/hildon-time-editor.c,
	* src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
	the proper GType instance check


Modified: projects/haf/trunk/hildon-1/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-1/ChangeLog	2008-02-26 11:30:51 UTC (rev 15229)
+++ projects/haf/trunk/hildon-1/ChangeLog	2008-02-26 12:50:31 UTC (rev 15230)
@@ -1,3 +1,13 @@
+2008-02-26  Sven Herzberg  <sven at imendio.com>
+
+	Fixes: MB#2981: Build with asserts broken
+
+	* src/hildon-date-editor.c,
+	* src/hildon-number-editor.c,
+	* src/hildon-time-editor.c,
+	* src/hildon-weekday-picker.c: replace HILDON_IS_EDITOR_EDITOR by a
+	the proper GType instance check
+
 2008-02-25  Sven Herzberg  <sven at imendio.com>
 
 	Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu

Modified: projects/haf/trunk/hildon-1/src/hildon-date-editor.c
===================================================================
--- projects/haf/trunk/hildon-1/src/hildon-date-editor.c	2008-02-26 11:30:51 UTC (rev 15229)
+++ projects/haf/trunk/hildon-1/src/hildon-date-editor.c	2008-02-26 12:50:31 UTC (rev 15230)
@@ -1341,7 +1341,7 @@
   gboolean retval;
   GtkDirectionType effective_direction;
 
-  g_assert (HILDON_IS_EDITOR_EDITOR (widget));
+  g_assert (HILDON_IS_DATE_EDITOR (widget));
 
   retval = hildon_private_composite_focus (widget, direction, &effective_direction);
 

Modified: projects/haf/trunk/hildon-1/src/hildon-number-editor.c
===================================================================
--- projects/haf/trunk/hildon-1/src/hildon-number-editor.c	2008-02-26 11:30:51 UTC (rev 15229)
+++ projects/haf/trunk/hildon-1/src/hildon-number-editor.c	2008-02-26 12:50:31 UTC (rev 15230)
@@ -771,7 +771,7 @@
   gboolean retval;
   GtkDirectionType effective_direction;
 
-  g_assert (HILDON_IS_EDITOR_EDITOR (widget));
+  g_assert (HILDON_IS_NUMBER_EDITOR (widget));
 
   retval = hildon_private_composite_focus (widget, direction, &effective_direction);
 

Modified: projects/haf/trunk/hildon-1/src/hildon-time-editor.c
===================================================================
--- projects/haf/trunk/hildon-1/src/hildon-time-editor.c	2008-02-26 11:30:51 UTC (rev 15229)
+++ projects/haf/trunk/hildon-1/src/hildon-time-editor.c	2008-02-26 12:50:31 UTC (rev 15230)
@@ -1787,7 +1787,7 @@
   gboolean retval;
   GtkDirectionType effective_direction;
 
-  g_assert (HILDON_IS_EDITOR_EDITOR (widget));
+  g_assert (HILDON_IS_TIME_EDITOR (widget));
 
   retval = hildon_private_composite_focus (widget, direction, &effective_direction);
 

Modified: projects/haf/trunk/hildon-1/src/hildon-weekday-picker.c
===================================================================
--- projects/haf/trunk/hildon-1/src/hildon-weekday-picker.c	2008-02-26 11:30:51 UTC (rev 15229)
+++ projects/haf/trunk/hildon-1/src/hildon-weekday-picker.c	2008-02-26 12:50:31 UTC (rev 15230)
@@ -384,7 +384,7 @@
   gboolean retval;
   GtkDirectionType effective_direction;
 
-  g_assert (HILDON_IS_EDITOR_EDITOR (widget));
+  g_assert (HILDON_IS_WEEKDAY_PICKER (widget));
 
   retval = hildon_private_composite_focus (widget, direction, &effective_direction);
 


More information about the maemo-commits mailing list