[gtk+/refactor: 64/106] Use accessor funtions to acces GtkInvisible
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/refactor: 64/106] Use accessor funtions to acces GtkInvisible
- Date: Tue, 13 Jul 2010 17:35:23 +0000 (UTC)
commit d4f1462d63a5bd63bfc04fe62894712a5d200d5d
Author: Javier Jardón <jjardon gnome org>
Date: Thu Jun 24 03:04:10 2010 +0200
Use accessor funtions to acces GtkInvisible
gtk/gtkwidget.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index e4f9ca7..b092857 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -7588,7 +7588,7 @@ gtk_widget_get_screen_unchecked (GtkWidget *widget)
if (GTK_IS_WINDOW (toplevel))
return GTK_WINDOW (toplevel)->screen;
else if (GTK_IS_INVISIBLE (toplevel))
- return GTK_INVISIBLE (widget)->screen;
+ return gtk_invisible_get_screen (GTK_INVISIBLE (widget));
}
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]