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.
This commit is contained in:
Alexander Larsson
2020-02-06 10:27:02 +01:00
parent a0533923fb
commit 1c253f5dfa
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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,