Fix gtk-doc packaging
[hildon] / src / hildon-range-editor.c
index a9e66be..c60f8ea 100644 (file)
 
 /**
  * SECTION:hildon-range-editor
- * @short_description: A widget is used to ask bounds of a range
+ * @short_description: A widget is used to ask bounds of a range.
  *
  * HidlonRangeEditor allows entering a pair of integers, e.g. the lower
  * and higher bounds of a range. A minimum and maximum can also be set
  * for the bounds.
+ * 
+ * <example>
+ * <programlisting>
+ *      range_editor = hildon_range_editor_new ();
+ *      hildon_range_editor_set_limits (editor, start, end );
+ *      hildon_range_editor_get_range (editor, &amp;start, &amp;end);
+ * </programlisting>
+ * </example>
  */
 
 #ifdef                                          HAVE_CONFIG_H
@@ -44,7 +52,6 @@
 #include                                        <glib/gprintf.h>
 #include                                        <string.h>
 #include                                        <stdlib.h>
-#include                                        "hildon-input-mode-hint.h"
 #include                                        "hildon-banner.h"
 #include                                        <libintl.h>
 #include                                        "hildon-range-editor-private.h"
@@ -322,10 +329,10 @@ hildon_range_editor_init                        (HildonRangeEditor *editor)
             G_CALLBACK (hildon_range_editor_entry_changed), editor);
 
     g_object_set (G_OBJECT (priv->start_entry),
-            "input-mode", HILDON_INPUT_MODE_HINT_NUMERIC, NULL);
+            "input-mode", HILDON_GTK_INPUT_MODE_NUMERIC, NULL);
 
     g_object_set( G_OBJECT (priv->end_entry),
-            "input-mode", HILDON_INPUT_MODE_HINT_NUMERIC, NULL);
+            "input-mode", HILDON_GTK_INPUT_MODE_NUMERIC, NULL);
 
     gtk_widget_show (priv->start_entry);
     gtk_widget_show (priv->end_entry);