summaryrefslogtreecommitdiff
path: root/gtk/gtkvruler.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkvruler.c')
-rw-r--r--gtk/gtkvruler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkvruler.c b/gtk/gtkvruler.c
index 8c684e8e08..dec56a3bf5 100644
--- a/gtk/gtkvruler.c
+++ b/gtk/gtkvruler.c
@@ -65,7 +65,7 @@ gtk_vruler_get_type (void)
(GtkClassInitFunc) NULL,
};
- vruler_type = gtk_type_unique (gtk_ruler_get_type (), &vruler_info);
+ vruler_type = gtk_type_unique (GTK_TYPE_RULER, &vruler_info);
}
return vruler_type;
@@ -99,7 +99,7 @@ gtk_vruler_init (GtkVRuler *vruler)
GtkWidget*
gtk_vruler_new (void)
{
- return GTK_WIDGET (gtk_type_new (gtk_vruler_get_type ()));
+ return GTK_WIDGET (gtk_type_new (GTK_TYPE_VRULER));
}