forked from AuroraMiddleware/gtk
Call recompute_geometry() upon realization, since it can't be done in the
Fri Apr 3 21:03:38 1998 Owen Taylor <owt1@cornell.edu> * gtk/gtktext.c (gtk_text_realize): Call recompute_geometry() upon realization, since it can't be done in the previous size_allocate.
This commit is contained in:
parent
e2ae4aec47
commit
71824a2cd5
@ -1,3 +1,9 @@
|
|||||||
|
Fri Apr 3 21:03:38 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
|
* gtk/gtktext.c (gtk_text_realize): Call recompute_geometry()
|
||||||
|
upon realization, since it can't be done in the previous
|
||||||
|
size_allocate.
|
||||||
|
|
||||||
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Apr 3 21:03:38 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
|
* gtk/gtktext.c (gtk_text_realize): Call recompute_geometry()
|
||||||
|
upon realization, since it can't be done in the previous
|
||||||
|
size_allocate.
|
||||||
|
|
||||||
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Apr 3 21:03:38 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
|
* gtk/gtktext.c (gtk_text_realize): Call recompute_geometry()
|
||||||
|
upon realization, since it can't be done in the previous
|
||||||
|
size_allocate.
|
||||||
|
|
||||||
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Apr 3 21:03:38 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
|
* gtk/gtktext.c (gtk_text_realize): Call recompute_geometry()
|
||||||
|
upon realization, since it can't be done in the previous
|
||||||
|
size_allocate.
|
||||||
|
|
||||||
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Apr 3 21:03:38 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
|
* gtk/gtktext.c (gtk_text_realize): Call recompute_geometry()
|
||||||
|
upon realization, since it can't be done in the previous
|
||||||
|
size_allocate.
|
||||||
|
|
||||||
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Apr 3 21:03:38 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
|
* gtk/gtktext.c (gtk_text_realize): Call recompute_geometry()
|
||||||
|
upon realization, since it can't be done in the previous
|
||||||
|
size_allocate.
|
||||||
|
|
||||||
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Fri Apr 3 21:03:38 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
|
* gtk/gtktext.c (gtk_text_realize): Call recompute_geometry()
|
||||||
|
upon realization, since it can't be done in the previous
|
||||||
|
size_allocate.
|
||||||
|
|
||||||
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
Fri Apr 3 20:36:52 1998 Owen Taylor <owt1@cornell.edu>
|
||||||
|
|
||||||
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
* gdk/gdk.c gtk/gtkmain.c: Accept debug options
|
||||||
|
@ -1053,6 +1053,8 @@ gtk_text_realize (GtkWidget *widget)
|
|||||||
|
|
||||||
if (editable->selection_start_pos != editable->selection_end_pos)
|
if (editable->selection_start_pos != editable->selection_end_pos)
|
||||||
gtk_editable_claim_selection (editable, TRUE, GDK_CURRENT_TIME);
|
gtk_editable_claim_selection (editable, TRUE, GDK_CURRENT_TIME);
|
||||||
|
|
||||||
|
recompute_geometry (text);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user