diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-01-24 15:40:37 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-01-24 15:40:37 -0500 |
commit | 6e96111d9f5e9298ff0b716f063b084a94a880e6 (patch) | |
tree | d7906dcf72d4e0c946c8ebcd378e04cc676bf447 /gtk/gtkwindowprivate.h | |
parent | 3437f83ff3bfb256f69122c6de1e24dd8424a60f (diff) | |
download | gtk+-6e96111d9f5e9298ff0b716f063b084a94a880e6.tar.gz |
GtkHeaderBar: try harder to find the best window icon
GtkWindow has 4 (!) APIs for setting window icons, and we
have to try them all in the right order to find the right
icon. This commit makes it so, and keeps the icon list
manipulation inside gtkwindow.c by adding a private API
for getting a single icon at the right size.
https://bugzilla.gnome.org/show_bug.cgi?id=722515
Diffstat (limited to 'gtk/gtkwindowprivate.h')
-rw-r--r-- | gtk/gtkwindowprivate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkwindowprivate.h b/gtk/gtkwindowprivate.h index 9f9bce6bd0..704026d001 100644 --- a/gtk/gtkwindowprivate.h +++ b/gtk/gtkwindowprivate.h @@ -107,6 +107,9 @@ void _gtk_window_get_popover_position (GtkWindow *window, GtkPositionType *pos, cairo_rectangle_int_t *rect); +GdkPixbuf *gtk_window_get_icon_for_size (GtkWindow *window, + gint size); + G_END_DECLS #endif /* __GTK_WINDOW_PRIVATE_H__ */ |