GtkMisc: Remove unneeded calls

This commit is contained in:
Carlos Garnacho 2011-01-04 02:40:33 +01:00
parent 905604550a
commit 61691117dc

View File

@ -338,8 +338,6 @@ gtk_misc_realize (GtkWidget *widget)
window = gtk_widget_get_parent_window (widget);
gtk_widget_set_window (widget, window);
g_object_ref (window);
gtk_widget_style_attach (widget);
}
else
{
@ -359,7 +357,5 @@ gtk_misc_realize (GtkWidget *widget)
gtk_widget_set_window (widget, window);
gdk_window_set_user_data (window, widget);
gdk_window_set_background_pattern (window, NULL);
gtk_widget_style_attach (widget);
}
}