diff options
author | Benjamin Otte <otte@redhat.com> | 2013-04-04 16:19:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2013-04-06 10:47:55 +0200 |
commit | e255cf15fb86c31eb45027ca7d976276bad83985 (patch) | |
tree | ebc6d0155b4257e769b7eacf795e78e772f15b7a /gtk/gtkicontheme.c | |
parent | f2263afb195b8269e2351514a3cb2459e1119c30 (diff) | |
download | gtk+-e255cf15fb86c31eb45027ca7d976276bad83985.tar.gz |
icontheme: Remove unused function
Diffstat (limited to 'gtk/gtkicontheme.c')
-rw-r--r-- | gtk/gtkicontheme.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index c79826c2ad..e118306e46 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -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 |