summaryrefslogtreecommitdiff
path: root/gtk/gtkmisc.h
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2011-12-04 13:55:51 +0100
committerPaolo Borelli <pborelli@gnome.org>2012-01-22 13:36:47 +0100
commite34589ddeab1419a9124062a93ff483c3843a218 (patch)
treee544ef6a3b7eeb98d2f3a06542ae8d8205ac75f1 /gtk/gtkmisc.h
parentbf7779bfb71b6e27c90bf4bde246276f014107e7 (diff)
downloadgtk+-e34589ddeab1419a9124062a93ff483c3843a218.tar.gz
Factor out _gtk_misc_get_padding_and_border
The new semi-private function will allow to implement support for css padding and border in widgets inheriting from GtkMisc. Use the new function for GtkLabel, GtkArrow and GtkImage.
Diffstat (limited to 'gtk/gtkmisc.h')
-rw-r--r--gtk/gtkmisc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkmisc.h b/gtk/gtkmisc.h
index 269265f613..c82c2622b9 100644
--- a/gtk/gtkmisc.h
+++ b/gtk/gtkmisc.h
@@ -83,6 +83,8 @@ void gtk_misc_get_padding (GtkMisc *misc,
gint *xpad,
gint *ypad);
+void _gtk_misc_get_padding_and_border (GtkMisc *misc,
+ GtkBorder *border);
G_END_DECLS