tooltipwindow: Cast the correct object
the tooltipwindow is in the userdata.
This commit is contained in:
committed by
Matthias Clasen
parent
fcec5a817e
commit
5f0a9a60e9
@@ -258,7 +258,7 @@ surface_transform_changed_cb (GtkWidget *widget,
|
||||
const graphene_matrix_t *transform,
|
||||
gpointer user_data)
|
||||
{
|
||||
GtkTooltipWindow *window = GTK_TOOLTIP_WINDOW (widget);
|
||||
GtkTooltipWindow *window = GTK_TOOLTIP_WINDOW (user_data);
|
||||
|
||||
gtk_tooltip_window_relayout (window);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user