Fix recent change in xwidget.c
* src/xwidget.c (xwidget_init_view): Don't assume ttip_widget is NULL if tooltips have not been initialized.
This commit is contained in:
parent
3b7d55a801
commit
e389da74d5
1 changed files with 2 additions and 4 deletions
|
@ -1738,11 +1738,9 @@ xw_maybe_synthesize_crossing (struct xwidget_view *view,
|
|||
/* Work around a silly bug in WebKitGTK+ that tries to make tooltip
|
||||
windows transient for our offscreen window. */
|
||||
int tooltip_width, tooltip_height;
|
||||
struct x_output *output = FRAME_X_OUTPUT (view->frame);
|
||||
|
||||
if (!output->ttip_widget)
|
||||
xg_prepare_tooltip (view->frame, dummy_tooltip_string,
|
||||
&tooltip_width, &tooltip_height);
|
||||
xg_prepare_tooltip (view->frame, dummy_tooltip_string,
|
||||
&tooltip_width, &tooltip_height);
|
||||
#endif
|
||||
|
||||
toplevel = gtk_widget_get_window (XXWIDGET (view->model)->widgetwindow_osr);
|
||||
|
|
Loading…
Add table
Reference in a new issue