summaryrefslogtreecommitdiff
path: root/gtk/gtkhpaned.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkhpaned.c')
-rw-r--r--gtk/gtkhpaned.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkhpaned.c b/gtk/gtkhpaned.c
index 7fa7b4e37..a56128805 100644
--- a/gtk/gtkhpaned.c
+++ b/gtk/gtkhpaned.c
@@ -63,7 +63,7 @@ gtk_hpaned_get_type (void)
(GtkClassInitFunc) NULL,
};
- hpaned_type = gtk_type_unique (gtk_paned_get_type (), &hpaned_info);
+ hpaned_type = gtk_type_unique (GTK_TYPE_PANED, &hpaned_info);
}
return hpaned_type;
@@ -94,7 +94,7 @@ gtk_hpaned_new (void)
{
GtkHPaned *hpaned;
- hpaned = gtk_type_new (gtk_hpaned_get_type ());
+ hpaned = gtk_type_new (GTK_TYPE_HPANED);
return GTK_WIDGET (hpaned);
}