[libgd] icon-utils: Use GTK macro instead of hardcoded int
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd] icon-utils: Use GTK macro instead of hardcoded int
- Date: Thu, 20 Jul 2017 04:47:12 +0000 (UTC)
commit 974d79347be94a541daab223f8c790ed93a3c4b8
Author: astian <astian eclipso at>
Date: Wed Jul 19 21:50:48 2017 +0000
icon-utils: Use GTK macro instead of hardcoded int
https://bugzilla.gnome.org/show_bug.cgi?id=785159
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]