Commit 80e11533 authored by Carlos Garnacho's avatar Carlos Garnacho

GtkInvisible: Avoid chaining up in ::style-updated

parent 7b3de2d5
......@@ -45,8 +45,7 @@ enum {
static void gtk_invisible_destroy (GtkWidget *widget);
static void gtk_invisible_realize (GtkWidget *widget);
static void gtk_invisible_style_set (GtkWidget *widget,
GtkStyle *previous_style);
static void gtk_invisible_style_updated (GtkWidget *widget);
static void gtk_invisible_show (GtkWidget *widget);
static void gtk_invisible_size_allocate (GtkWidget *widget,
GtkAllocation *allocation);
......@@ -75,7 +74,7 @@ gtk_invisible_class_init (GtkInvisibleClass *class)
gobject_class = (GObjectClass*) class;
widget_class->realize = gtk_invisible_realize;
widget_class->style_set = gtk_invisible_style_set;
widget_class->style_updated = gtk_invisible_style_updated;
widget_class->show = gtk_invisible_show;
widget_class->size_allocate = gtk_invisible_size_allocate;
widget_class->destroy = gtk_invisible_destroy;
......@@ -250,13 +249,10 @@ gtk_invisible_realize (GtkWidget *widget)
window = gdk_window_new (parent, &attributes, attributes_mask);
gtk_widget_set_window (widget, window);
gdk_window_set_user_data (window, widget);
gtk_widget_style_attach (widget);
static void
gtk_invisible_style_set (GtkWidget *widget,
GtkStyle *previous_style)
gtk_invisible_style_updated (GtkWidget *widget)
/* Don't chain up to parent implementation */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment