diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 14a42b0a74..144426830c 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -34,6 +34,7 @@ gtkfilefilter.sgml
gtkfontbutton.sgml
gtkhbox.sgml
gtkhpaned.sgml
+gtkhscrollbar.sgml
gtkiconview.sgml
gtkimagemenuitem.sgml
gtkimcontext.sgml
diff --git a/docs/reference/gtk/tmpl/gtkhscrollbar.sgml b/docs/reference/gtk/tmpl/gtkhscrollbar.sgml
deleted file mode 100644
index 6412e07dba..0000000000
--- a/docs/reference/gtk/tmpl/gtkhscrollbar.sgml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-GtkHScrollbar
-
-
-A horizontal scrollbar
-
-
-
-
-The #GtkHScrollbar widget is a widget arranged horizontally creating a
-scrollbar. See #GtkScrollbar for details on
-scrollbars. #GtkAdjustment pointers may be added to handle the
-adjustment of the scrollbar or it may be left %NULL in which case one
-will be created for you. See #GtkScrollbar for a description of what the
-fields in an adjustment represent for a scrollbar.
-
-
-
-
-#GtkScrollbar, #GtkScrolledWindow
-
-
-
-
-
-
-
-
-
-
-The #GtkHScrollbar struct contains private data and should be accessed
-using the functions below.
-
-
-
-
-
-
-
-
-@adjustment:
-@Returns:
-
-
diff --git a/gtk/gtkhscrollbar.c b/gtk/gtkhscrollbar.c
index f2933a1952..5b1f1fb9ae 100644
--- a/gtk/gtkhscrollbar.c
+++ b/gtk/gtkhscrollbar.c
@@ -32,6 +32,21 @@
#include "gtkintl.h"
+/**
+ * SECTION:gtkhscrollbar
+ * @Short_description: A horizontal scrollbar
+ * @Title: GtkHScrollbar
+ * @See_also: #GtkScrollbar, #GtkScrolledWindow
+ *
+ * The #GtkHScrollbar widget is a widget arranged horizontally creating a
+ * scrollbar. See #GtkScrollbar for details on
+ * scrollbars. #GtkAdjustment pointers may be added to handle the
+ * adjustment of the scrollbar or it may be left %NULL in which case one
+ * will be created for you. See #GtkScrollbar for a description of what the
+ * fields in an adjustment represent for a scrollbar.
+ */
+
+
G_DEFINE_TYPE (GtkHScrollbar, gtk_hscrollbar, GTK_TYPE_SCROLLBAR)
static void