mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Return FALSE if the tree is empty. (#313891, Guillaume Cottenceau)
2005-08-19 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return FALSE if the tree is empty. (#313891, Guillaume Cottenceau)
This commit is contained in:
parent
933b1f4546
commit
445b61e3e7
@ -1,5 +1,8 @@
|
||||
2005-08-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
|
||||
FALSE if the tree is empty. (#313891, Guillaume Cottenceau)
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display)
|
||||
(xdnd_read_actions, get_client_window_at_coords_recurse):
|
||||
Free data returned from XGetWindowProperty.
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-08-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
|
||||
FALSE if the tree is empty. (#313891, Guillaume Cottenceau)
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display)
|
||||
(xdnd_read_actions, get_client_window_at_coords_recurse):
|
||||
Free data returned from XGetWindowProperty.
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-08-19 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
|
||||
FALSE if the tree is empty. (#313891, Guillaume Cottenceau)
|
||||
|
||||
* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display)
|
||||
(xdnd_read_actions, get_client_window_at_coords_recurse):
|
||||
Free data returned from XGetWindowProperty.
|
||||
|
@ -11795,6 +11795,9 @@ gtk_tree_view_get_visible_range (GtkTreeView *tree_view,
|
||||
|
||||
g_return_val_if_fail (GTK_IS_TREE_VIEW (tree_view), FALSE);
|
||||
|
||||
if (!tree_view->priv->tree)
|
||||
return FALSE;
|
||||
|
||||
if (start_path)
|
||||
{
|
||||
_gtk_rbtree_find_offset (tree_view->priv->tree,
|
||||
|
Loading…
Reference in New Issue
Block a user