g_return_if_fail() if GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE

Wed May 21 19:01:06 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (gtk_widget_realize):
        g_return_if_fail() if
        GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
        (#107872, Christian Reis)
This commit is contained in:
Owen Taylor 2003-05-21 23:08:27 +00:00 committed by Owen Taylor
parent 524e2278cd
commit c1d40c0293
6 changed files with 42 additions and 5 deletions

View File

@ -1,3 +1,10 @@
Wed May 21 19:01:06 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_realize):
g_return_if_fail() if
GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
(#107872, Christian Reis)
2003-05-22 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesel.c (gtk_file_selection_create_dir):
@ -18,7 +25,7 @@ Wed May 21 15:53:14 2003 Owen Taylor <otaylor@redhat.com>
gtk_progress_set_show_text): Always queue a resize ...
we rely on the size-allocate to do the update, plus a
different format can actually change our size requisition.
(#111052)
(#111052, Vasco Alexandre da Silva Costa)
* gtk/gtkprogress.c (gtk_progress_changed): Track
::changed as well as ::value_changed, and queue a

View File

@ -1,3 +1,10 @@
Wed May 21 19:01:06 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_realize):
g_return_if_fail() if
GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
(#107872, Christian Reis)
2003-05-22 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesel.c (gtk_file_selection_create_dir):
@ -18,7 +25,7 @@ Wed May 21 15:53:14 2003 Owen Taylor <otaylor@redhat.com>
gtk_progress_set_show_text): Always queue a resize ...
we rely on the size-allocate to do the update, plus a
different format can actually change our size requisition.
(#111052)
(#111052, Vasco Alexandre da Silva Costa)
* gtk/gtkprogress.c (gtk_progress_changed): Track
::changed as well as ::value_changed, and queue a

View File

@ -1,3 +1,10 @@
Wed May 21 19:01:06 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_realize):
g_return_if_fail() if
GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
(#107872, Christian Reis)
2003-05-22 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesel.c (gtk_file_selection_create_dir):
@ -18,7 +25,7 @@ Wed May 21 15:53:14 2003 Owen Taylor <otaylor@redhat.com>
gtk_progress_set_show_text): Always queue a resize ...
we rely on the size-allocate to do the update, plus a
different format can actually change our size requisition.
(#111052)
(#111052, Vasco Alexandre da Silva Costa)
* gtk/gtkprogress.c (gtk_progress_changed): Track
::changed as well as ::value_changed, and queue a

View File

@ -1,3 +1,10 @@
Wed May 21 19:01:06 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_realize):
g_return_if_fail() if
GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
(#107872, Christian Reis)
2003-05-22 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesel.c (gtk_file_selection_create_dir):
@ -18,7 +25,7 @@ Wed May 21 15:53:14 2003 Owen Taylor <otaylor@redhat.com>
gtk_progress_set_show_text): Always queue a resize ...
we rely on the size-allocate to do the update, plus a
different format can actually change our size requisition.
(#111052)
(#111052, Vasco Alexandre da Silva Costa)
* gtk/gtkprogress.c (gtk_progress_changed): Track
::changed as well as ::value_changed, and queue a

View File

@ -1,3 +1,10 @@
Wed May 21 19:01:06 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_realize):
g_return_if_fail() if
GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
(#107872, Christian Reis)
2003-05-22 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilesel.c (gtk_file_selection_create_dir):
@ -18,7 +25,7 @@ Wed May 21 15:53:14 2003 Owen Taylor <otaylor@redhat.com>
gtk_progress_set_show_text): Always queue a resize ...
we rely on the size-allocate to do the update, plus a
different format can actually change our size requisition.
(#111052)
(#111052, Vasco Alexandre da Silva Costa)
* gtk/gtkprogress.c (gtk_progress_changed): Track
::changed as well as ::value_changed, and queue a

View File

@ -1925,6 +1925,8 @@ gtk_widget_realize (GtkWidget *widget)
GtkWidgetShapeInfo *shape_info;
g_return_if_fail (GTK_IS_WIDGET (widget));
g_return_if_fail (GTK_WIDGET_ANCHORED (widget) ||
GTK_IS_INVISIBLE (widget));
if (!GTK_WIDGET_REALIZED (widget))
{