Commit e255cf15 authored by Benjamin Otte's avatar Benjamin Otte

icontheme: Remove unused function

parent f2263afb
......@@ -182,7 +182,6 @@ struct _GtkIconThemePrivate
guint is_screen_singleton : 1;
guint pixbuf_supports_svg : 1;
guint themes_valid : 1;
guint check_reload : 1;
guint loading_themes : 1;
/* A list of all the themes needed to look up icons.
......@@ -4798,30 +4797,6 @@ find_builtin_icon (const gchar *icon_name,
return min_icon;
}
void
_gtk_icon_theme_check_reload (GdkDisplay *display)
{
gint n_screens, i;
GdkScreen *screen;
GtkIconTheme *icon_theme;
n_screens = gdk_display_get_n_screens (display);
for (i = 0; i < n_screens; i++)
{
screen = gdk_display_get_screen (display, i);
icon_theme = g_object_get_data (G_OBJECT (screen), "gtk-icon-theme");
if (icon_theme)
{
icon_theme->priv->check_reload = TRUE;
ensure_valid_themes (icon_theme);
icon_theme->priv->check_reload = FALSE;
}
}
}
/**
* gtk_icon_theme_lookup_by_gicon:
* @icon_theme: a #GtkIconTheme
......
......@@ -267,7 +267,6 @@ gboolean gtk_icon_info_get_attach_points (GtkIconInfo *icon_info
const gchar * gtk_icon_info_get_display_name (GtkIconInfo *icon_info);
/* Non-public methods */
void _gtk_icon_theme_check_reload (GdkDisplay *display);
void _gtk_icon_theme_ensure_builtin_cache (void);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment