2008-02-26 Sven Herzberg <sven@imendio.com>
authorSven Herzberg <herzi@imendio.com>
Tue, 26 Feb 2008 12:50:31 +0000 (12:50 +0000)
committerSven Herzberg <herzi@imendio.com>
Tue, 26 Feb 2008 12:50:31 +0000 (12:50 +0000)
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

ChangeLog
src/hildon-date-editor.c
src/hildon-number-editor.c
src/hildon-time-editor.c
src/hildon-weekday-picker.c

index 001771e..a2507ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2008-02-26  Sven Herzberg  <sven@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@imendio.com>
 
        Fixed: MB#1221: HildonWindow shouldn't call show_all for GtkMenu
index 5f0e28e..f74596f 100644 (file)
@@ -1341,7 +1341,7 @@ hildon_date_editor_focus                      (GtkWidget *widget,
   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);
 
index 5d6a855..161eccc 100644 (file)
@@ -771,7 +771,7 @@ hildon_number_editor_focus                      (GtkWidget *widget,
   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);
 
index c7fe2f9..947fad9 100644 (file)
@@ -1787,7 +1787,7 @@ hildon_time_editor_focus                      (GtkWidget *widget,
   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);
 
index 3a388a9..e67ab5b 100644 (file)
@@ -384,7 +384,7 @@ hildon_weekday_picker_focus                      (GtkWidget *widget,
   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);