Skip to content

Commit 33349a4

Browse files
committed
nemo-places-sidebar.c: Fix query-tooltip callback.
The callback should return FALSE if no tooltip context is found for the treeview. Fixes #3528
1 parent a27a6ec commit 33349a4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/nemo-places-sidebar.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3822,11 +3822,12 @@ query_tooltip_callback (GtkWidget *widget,
38223822

38233823
gtk_tooltip_set_markup (tooltip, tooltip_markup);
38243824
gtk_tree_view_set_tooltip_cell (GTK_TREE_VIEW (widget), tooltip, path, NULL, NULL);
3825-
}
38263825

3827-
gtk_tree_path_free (path);
3826+
gtk_tree_path_free (path);
3827+
return TRUE;
3828+
}
38283829

3829-
return TRUE;
3830+
return FALSE;
38303831
}
38313832

38323833

0 commit comments

Comments
 (0)