[gtk+/rendering-cleanup: 128/142] xxx: gtk_widget_get_visual
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 128/142] xxx: gtk_widget_get_visual
- Date: Thu, 9 Sep 2010 16:15:02 +0000 (UTC)
commit 7a40a22fca33dc226758946c103eb5078709a5c1
Author: Benjamin Otte <otte redhat com>
Date: Thu Sep 9 17:44:52 2010 +0200
xxx: gtk_widget_get_visual
gtk/gtkwidget.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index edec8ee..05f0643 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -8311,11 +8311,11 @@ gtk_widget_get_visual (GtkWidget *widget)
g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
- for (w = widget; w != NULL; w = w->parent)
+ for (w = widget; w != NULL; w = w->priv->parent)
{
if (gtk_widget_get_has_window (w) &&
- widget->window)
- return gdk_window_get_visual (widget->window);
+ w->priv->window)
+ return gdk_window_get_visual (w->priv->window);
if (GTK_IS_WINDOW (w))
return GTK_WINDOW (w)->visual;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]