[gtk: 10/31] icontheme: Move IMAGE_MISSING_RESOURCE_PATH to (private) header
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 10/31] icontheme: Move IMAGE_MISSING_RESOURCE_PATH to (private) header
- Date: Mon, 10 Feb 2020 12:47:37 +0000 (UTC)
commit 1c253f5dfae9af0aeba5da15ce7db27c11a68909
Author: Alexander Larsson <alexl redhat com>
Date: Thu Feb 6 10:27:02 2020 +0100
icontheme: Move IMAGE_MISSING_RESOURCE_PATH to (private) header
This way other code can use this resource too for fallbacks, avoing
having to go through the icon theme.
gtk/gtkicontheme.c | 2 --
gtk/gtkiconthemeprivate.h | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 639c881cdc..9b356b4e9b 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -58,8 +58,6 @@
*/
#include "fallback-c89.c"
-#define IMAGE_MISSING_RESOURCE_PATH "/org/gtk/libgtk/icons/16x16/status/image-missing.png"
-
/**
* SECTION:gtkicontheme
* @Short_description: Looking up icons by name
diff --git a/gtk/gtkiconthemeprivate.h b/gtk/gtkiconthemeprivate.h
index 53bef46d44..4a508b3443 100644
--- a/gtk/gtkiconthemeprivate.h
+++ b/gtk/gtkiconthemeprivate.h
@@ -21,6 +21,8 @@
#include <gtk/gtkicontheme.h>
#include <gtk/gtkcssstyleprivate.h>
+#define IMAGE_MISSING_RESOURCE_PATH "/org/gtk/libgtk/icons/16x16/status/image-missing.png"
+
void gtk_icon_theme_lookup_symbolic_colors (GtkCssStyle *style,
GdkRGBA *color_out,
GdkRGBA *success_out,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]