summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 30104c4413..472a20c418 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -5545,6 +5545,19 @@ gtk_border_free (GtkBorder *border)
g_free (border);
}
+GType
+gtk_border_get_type (void)
+{
+ static GType our_type = 0;
+
+ if (our_type == 0)
+ our_type = g_boxed_type_register_static ("GtkTypeBorder",
+ (GBoxedCopyFunc) gtk_border_copy,
+ (GBoxedFreeFunc) gtk_border_free);
+
+ return our_type;
+}
+
/**
* gtk_style_get_font:
* @style: a #GtkStyle