summaryrefslogtreecommitdiff
path: root/gtk/gtkiconhelperprivate.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlos@lanedo.com>2012-07-13 15:54:29 +0200
committerCarlos Garnacho <carlos@lanedo.com>2012-07-13 16:56:37 +0200
commitb5d45a9edc68609608172c2aa3d9a494b137b16b (patch)
tree7d76f3c9a6e02c19810b3f9571208bbd6abc6ffe /gtk/gtkiconhelperprivate.h
parent36bcb3bf95c313122616deabd34271711b330f36 (diff)
downloadgtk+-b5d45a9edc68609608172c2aa3d9a494b137b16b.tar.gz
Add API to force a GtkIconHelper pixbuf rescaling
This API is handy in entries and status icons, where the size is limited and independent of the pixbuf size
Diffstat (limited to 'gtk/gtkiconhelperprivate.h')
-rw-r--r--gtk/gtkiconhelperprivate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkiconhelperprivate.h b/gtk/gtkiconhelperprivate.h
index 8cc8a479c9..c2b9f0804f 100644
--- a/gtk/gtkiconhelperprivate.h
+++ b/gtk/gtkiconhelperprivate.h
@@ -124,6 +124,11 @@ void _gtk_icon_helper_draw (GtkIconHelper *self,
gdouble x,
gdouble y);
+gboolean _gtk_icon_helper_get_force_scale_pixbuf (GtkIconHelper *self);
+void _gtk_icon_helper_set_force_scale_pixbuf (GtkIconHelper *self,
+ gboolean force_scale);
+
+
G_END_DECLS
#endif /* __GTK_ICON_HELPER_H__ */