pidgin/gtkimhtml.c

changeset 19326
d3071a414d6b
parent 19325
4ae1add93886
child 19380
27c9893825c7
equal deleted inserted replaced
19325:4ae1add93886 19326:d3071a414d6b
386 386
387 imhtml->old_rect = rect; 387 imhtml->old_rect = rect;
388 parent_size_allocate(widget, alloc); 388 parent_size_allocate(widget, alloc);
389 389
390 /* Don't scroll here if we're in the middle of a smooth scroll */ 390 /* Don't scroll here if we're in the middle of a smooth scroll */
391 if (scroll && imhtml->scroll_time == NULL) 391 if (scroll && imhtml->scroll_time == NULL &&
392 GTK_WIDGET_REALIZED(imhtml))
392 gtk_imhtml_scroll_to_end(imhtml, FALSE); 393 gtk_imhtml_scroll_to_end(imhtml, FALSE);
393 } 394 }
394 395
395 static gint 396 static gint
396 gtk_imhtml_tip_paint (GtkIMHtml *imhtml) 397 gtk_imhtml_tip_paint (GtkIMHtml *imhtml)

mercurial