Commit bccfe548 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Fix a bug where on theme change, resize/redraw wasn't properly getting

Thu Aug  7 16:49:29 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (gtk_widget_set_style_internal):
        Fix a bug where on theme change, resize/redraw wasn't
        properly getting queued on toplevel windows. (#116346,
        Rajkumar Siva)

        * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
        Fix bug where wrong coordinates were used for toplevel
        window.
parent 6f627e53
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
Fix a bug where on theme change, resize/redraw wasn't
properly getting queued on toplevel windows. (#116346,
Rajkumar Siva)
* gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
Fix bug where wrong coordinates were used for toplevel
window.
Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com> Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
......
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
Fix a bug where on theme change, resize/redraw wasn't
properly getting queued on toplevel windows. (#116346,
Rajkumar Siva)
* gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
Fix bug where wrong coordinates were used for toplevel
window.
Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com> Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
......
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
Fix a bug where on theme change, resize/redraw wasn't
properly getting queued on toplevel windows. (#116346,
Rajkumar Siva)
* gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
Fix bug where wrong coordinates were used for toplevel
window.
Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com> Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
......
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
Fix a bug where on theme change, resize/redraw wasn't
properly getting queued on toplevel windows. (#116346,
Rajkumar Siva)
* gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
Fix bug where wrong coordinates were used for toplevel
window.
Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com> Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
......
Thu Aug 7 16:49:29 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_set_style_internal):
Fix a bug where on theme change, resize/redraw wasn't
properly getting queued on toplevel windows. (#116346,
Rajkumar Siva)
* gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
Fix bug where wrong coordinates were used for toplevel
window.
Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com> Thu Aug 7 16:40:21 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
......
...@@ -2557,7 +2557,7 @@ static void ...@@ -2557,7 +2557,7 @@ static void
gtk_widget_invalidate_widget_windows (GtkWidget *widget, gtk_widget_invalidate_widget_windows (GtkWidget *widget,
GdkRegion *region) GdkRegion *region)
{ {
if (!GTK_WIDGET_NO_WINDOW (widget)) if (!GTK_WIDGET_NO_WINDOW (widget) && widget->parent)
{ {
int x, y; int x, y;
...@@ -4605,7 +4605,7 @@ gtk_widget_set_style_internal (GtkWidget *widget, ...@@ -4605,7 +4605,7 @@ gtk_widget_set_style_internal (GtkWidget *widget,
initial_emission ? NULL : previous_style); initial_emission ? NULL : previous_style);
g_object_unref (previous_style); g_object_unref (previous_style);
if (widget->parent && !initial_emission) if (GTK_WIDGET_ANCHORED (widget) && !initial_emission)
gtk_widget_queue_resize (widget); gtk_widget_queue_resize (widget);
} }
else if (initial_emission) else if (initial_emission)
......
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