[gtk+] icontheme: Remove unused function
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] icontheme: Remove unused function
- Date: Sat, 6 Apr 2013 08:48:14 +0000 (UTC)
commit e255cf15fb86c31eb45027ca7d976276bad83985
Author: Benjamin Otte <otte redhat com>
Date: Thu Apr 4 16:19:36 2013 +0200
icontheme: Remove unused function
gtk/gtkicontheme.c | 25 -------------------------
gtk/gtkicontheme.h | 1 -
2 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index c79826c..e118306 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
diff --git a/gtk/gtkicontheme.h b/gtk/gtkicontheme.h
index 0b4ee40..50988d7 100644
--- a/gtk/gtkicontheme.h
+++ b/gtk/gtkicontheme.h
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]