forked from AuroraMiddleware/gtk
Test for need to recompute geometry with GTK_WIDGET_REALIZED(), not
Fri Apr 3 23:15:55 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtktext.c: Test for need to recompute geometry with GTK_WIDGET_REALIZED(), not GTK_WIDGET_DRAWABLE().
This commit is contained in:
parent
bfd68b4357
commit
977b13d37f
@ -1,3 +1,8 @@
|
||||
Fri Apr 3 23:15:55 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtktext.c: Test for need to recompute geometry with
|
||||
GTK_WIDGET_REALIZED(), not GTK_WIDGET_DRAWABLE().
|
||||
|
||||
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): New function to draw a
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 3 23:15:55 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtktext.c: Test for need to recompute geometry with
|
||||
GTK_WIDGET_REALIZED(), not GTK_WIDGET_DRAWABLE().
|
||||
|
||||
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): New function to draw a
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 3 23:15:55 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtktext.c: Test for need to recompute geometry with
|
||||
GTK_WIDGET_REALIZED(), not GTK_WIDGET_DRAWABLE().
|
||||
|
||||
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): New function to draw a
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 3 23:15:55 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtktext.c: Test for need to recompute geometry with
|
||||
GTK_WIDGET_REALIZED(), not GTK_WIDGET_DRAWABLE().
|
||||
|
||||
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): New function to draw a
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 3 23:15:55 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtktext.c: Test for need to recompute geometry with
|
||||
GTK_WIDGET_REALIZED(), not GTK_WIDGET_DRAWABLE().
|
||||
|
||||
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): New function to draw a
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 3 23:15:55 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtktext.c: Test for need to recompute geometry with
|
||||
GTK_WIDGET_REALIZED(), not GTK_WIDGET_DRAWABLE().
|
||||
|
||||
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): New function to draw a
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Apr 3 23:15:55 1998 Owen Taylor <owt1@cornell.edu>
|
||||
|
||||
* gtk/gtktext.c: Test for need to recompute geometry with
|
||||
GTK_WIDGET_REALIZED(), not GTK_WIDGET_DRAWABLE().
|
||||
|
||||
1998-04-03 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkhandlebox.c (draw_textured_frame): New function to draw a
|
||||
|
@ -527,7 +527,7 @@ gtk_text_set_word_wrap (GtkText *text,
|
||||
|
||||
text->word_wrap = (word_wrap != FALSE);
|
||||
|
||||
if (GTK_WIDGET_DRAWABLE (text))
|
||||
if (GTK_WIDGET_REALIZED (text))
|
||||
{
|
||||
recompute_geometry (text);
|
||||
gtk_widget_queue_draw (GTK_WIDGET (text));
|
||||
@ -666,7 +666,7 @@ gtk_text_thaw (GtkText *text)
|
||||
|
||||
text->freeze = FALSE;
|
||||
|
||||
if (GTK_WIDGET_DRAWABLE (text))
|
||||
if (GTK_WIDGET_REALIZED (text))
|
||||
{
|
||||
recompute_geometry (text);
|
||||
gtk_widget_queue_draw (GTK_WIDGET (text));
|
||||
|
Loading…
Reference in New Issue
Block a user