tooltip: Remove unused assignment
hide_tooltip gets overriden in any case 2 lines down, and return_value
isn't used later in that function. The second assignment was introduced
in ef1da5f6c2, directly below the first
assignment.
This commit is contained in:
@ -1486,12 +1486,9 @@ gtk_tooltip_handle_event_internal (GdkEvent *event)
|
|||||||
tip_area_set = current_tooltip->tip_area_set;
|
tip_area_set = current_tooltip->tip_area_set;
|
||||||
tip_area = current_tooltip->tip_area;
|
tip_area = current_tooltip->tip_area;
|
||||||
|
|
||||||
return_value = gtk_tooltip_run_requery (&has_tooltip_widget,
|
gtk_tooltip_run_requery (&has_tooltip_widget,
|
||||||
current_tooltip,
|
current_tooltip,
|
||||||
&x, &y);
|
&x, &y);
|
||||||
|
|
||||||
/* Requested to be hidden? */
|
|
||||||
hide_tooltip = !return_value;
|
|
||||||
|
|
||||||
/* Leave notify should override the query function */
|
/* Leave notify should override the query function */
|
||||||
hide_tooltip = (event->type == GDK_LEAVE_NOTIFY);
|
hide_tooltip = (event->type == GDK_LEAVE_NOTIFY);
|
||||||
|
|||||||
Reference in New Issue
Block a user