[gtk+/gtk-style-context: 81/206] Fix typo when creating GtkWidgetPath.



commit 4077173e585920118038a96d5add4cbc41be6f2d
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Apr 27 02:29:15 2010 +0200

    Fix typo when creating GtkWidgetPath.

 gtk/gtkwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index efec461..9464883 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -11607,7 +11607,7 @@ gtk_widget_get_path (GtkWidget *widget)
 
   while (parent)
     {
-      gtk_widget_path_prepend_type (path, G_OBJECT_TYPE (widget));
+      gtk_widget_path_prepend_type (path, G_OBJECT_TYPE (parent));
       parent = parent->parent;
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]