diff options
author | astian <astian@eclipso.at> | 2017-07-19 21:50:48 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2017-07-20 06:46:31 +0200 |
commit | 974d79347be94a541daab223f8c790ed93a3c4b8 (patch) | |
tree | 94ee6522ca26e511b525434a6f2b9795a2f56199 | |
parent | c1a40ee08e94828d67ab2284b41948bdd8c41a7f (diff) | |
download | libgd-974d79347be94a541daab223f8c790ed93a3c4b8.tar.gz |
icon-utils: Use GTK macro instead of hardcoded int
https://bugzilla.gnome.org/show_bug.cgi?id=785159
-rw-r--r-- | libgd/gd-icon-utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgd/gd-icon-utils.c b/libgd/gd-icon-utils.c index 1655bf9..6c9dd40 100644 --- a/libgd/gd-icon-utils.c +++ b/libgd/gd-icon-utils.c @@ -321,7 +321,9 @@ gd_embed_surface_in_frame (cairo_surface_t *source_image, gtk_widget_path_append_type (path, GTK_TYPE_ICON_VIEW); gtk_style_context_set_path (context, path); - gtk_style_context_add_provider (context, GTK_STYLE_PROVIDER (provider), 600); + gtk_style_context_add_provider (context, + GTK_STYLE_PROVIDER (provider), + GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); cairo_save (cr); cairo_rectangle (cr, |