Fix compiler warning.

This commit is contained in:
Carlos Garnacho 2011-01-10 23:48:22 +01:00
parent fa2bfd93f8
commit e426f76e57

View File

@ -4243,9 +4243,9 @@ get_widget_windows (GtkWidget *widget)
for (l = window_list; l; l = l->next)
{
GtkWidget *window_widget;
GtkWidget *window_widget = NULL;
gdk_window_get_user_data (l->data, (gpointer *) window_widget);
gdk_window_get_user_data (l->data, (gpointer *) &window_widget);
if (widget != window_widget)
continue;