background: Use higher resolution thumbnails on HiDpi displays

https://bugzilla.gnome.org/show_bug.cgi?id=731713
This commit is contained in:
Debarshi Ray 2014-06-16 14:38:36 +02:00
parent b950a69f3b
commit a3247e73a4
9 changed files with 126 additions and 27 deletions

View file

@ -25,9 +25,6 @@
G_BEGIN_DECLS
#define THUMBNAIL_WIDTH 256
#define THUMBNAIL_HEIGHT (THUMBNAIL_WIDTH * 3 / 4)
#define BG_TYPE_SOURCE bg_source_get_type()
#define BG_SOURCE(obj) \
@ -70,6 +67,10 @@ GType bg_source_get_type (void) G_GNUC_CONST;
GtkListStore* bg_source_get_liststore (BgSource *source);
gint bg_source_get_thumbnail_height (BgSource *source);
gint bg_source_get_thumbnail_width (BgSource *source);
G_END_DECLS
#endif /* _BG_SOURCE_H */