mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 19:30:10 +00:00
Give this code a chance to work
At least it does not get uninitialized variable warnings now.
This commit is contained in:
parent
37167ec458
commit
d5dad6412b
@ -7518,6 +7518,8 @@ adjust_allocation_recurse (GtkWidget *widget,
|
||||
* into widget->allocation if the widget is not realized.
|
||||
* FIXME someone figure out why this was.
|
||||
*/
|
||||
gtk_widget_get_allocation (widget, &allocation);
|
||||
|
||||
if (!gtk_widget_get_realized (widget))
|
||||
{
|
||||
if (gtk_widget_get_visible (widget))
|
||||
@ -7564,7 +7566,7 @@ adjust_allocation (GtkWidget *widget,
|
||||
|
||||
adjust_allocation_recurse (widget, &scroll_data);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
gtk_text_view_value_changed (GtkAdjustment *adjustment,
|
||||
GtkTextView *text_view)
|
||||
|
Loading…
Reference in New Issue
Block a user