[gtk+/gdk-backend] Don't access GdkScreen fields
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend] Don't access GdkScreen fields
- Date: Fri, 10 Dec 2010 19:47:08 +0000 (UTC)
commit aecf32b5e2f3ecf1fef2597d62e05582e3c86c20
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 10 14:46:40 2010 -0500
Don't access GdkScreen fields
gtk/gtkicontheme.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 2f41849..60c7e5f 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -310,7 +310,6 @@ gtk_icon_theme_get_for_screen (GdkScreen *screen)
GtkIconTheme *icon_theme;
g_return_val_if_fail (GDK_IS_SCREEN (screen), NULL);
- g_return_val_if_fail (!screen->closed, NULL);
icon_theme = g_object_get_data (G_OBJECT (screen), "gtk-icon-theme");
if (!icon_theme)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]