summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2001-08-13 17:23:41 +0000
committerJonathan Blandford <jrb@src.gnome.org>2001-08-13 17:23:41 +0000
commitdcc502e95cb784b2b4fce8be88a2c88afeea8396 (patch)
tree63c232517989d8c908ef09c0c741480a895b42e9
parentabea7e4283b8575a2309b0e864521cea5dba25c1 (diff)
downloadgdk-pixbuf-dcc502e95cb784b2b4fce8be88a2c88afeea8396.tar.gz
Remove strict checking for rows.
Mon Aug 13 13:17:32 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeselection.c (gtk_tree_selection_select_all): (gtk_tree_selection_select_all): Remove strict checking for rows.
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-2-05
-rw-r--r--ChangeLog.pre-2-105
-rw-r--r--ChangeLog.pre-2-25
-rw-r--r--ChangeLog.pre-2-45
-rw-r--r--ChangeLog.pre-2-65
-rw-r--r--ChangeLog.pre-2-85
-rw-r--r--gtk/gtktreeselection.c7
8 files changed, 40 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3004f0f4b..a4587d429 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Aug 13 13:17:32 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_select_all):
+ (gtk_tree_selection_select_all): Remove strict checking for rows.
+
2001-08-13 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips):
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 3004f0f4b..a4587d429 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,8 @@
+Mon Aug 13 13:17:32 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_select_all):
+ (gtk_tree_selection_select_all): Remove strict checking for rows.
+
2001-08-13 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips):
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 3004f0f4b..a4587d429 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,8 @@
+Mon Aug 13 13:17:32 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_select_all):
+ (gtk_tree_selection_select_all): Remove strict checking for rows.
+
2001-08-13 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips):
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 3004f0f4b..a4587d429 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,8 @@
+Mon Aug 13 13:17:32 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_select_all):
+ (gtk_tree_selection_select_all): Remove strict checking for rows.
+
2001-08-13 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips):
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 3004f0f4b..a4587d429 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,8 @@
+Mon Aug 13 13:17:32 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_select_all):
+ (gtk_tree_selection_select_all): Remove strict checking for rows.
+
2001-08-13 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips):
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 3004f0f4b..a4587d429 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,8 @@
+Mon Aug 13 13:17:32 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_select_all):
+ (gtk_tree_selection_select_all): Remove strict checking for rows.
+
2001-08-13 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips):
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 3004f0f4b..a4587d429 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,8 @@
+Mon Aug 13 13:17:32 2001 Jonathan Blandford <jrb@redhat.com>
+
+ * gtk/gtktreeselection.c (gtk_tree_selection_select_all):
+ (gtk_tree_selection_select_all): Remove strict checking for rows.
+
2001-08-13 Matthias Clasen <matthiasc@waldgeist.poet.de>
* gtk/gtktooltips.c (gtk_tooltips_set_tip, gtk_tooltips_draw_tips):
diff --git a/gtk/gtktreeselection.c b/gtk/gtktreeselection.c
index 373a54781..d23d5d132 100644
--- a/gtk/gtktreeselection.c
+++ b/gtk/gtktreeselection.c
@@ -657,7 +657,8 @@ gtk_tree_selection_select_all (GtkTreeSelection *selection)
{
g_return_if_fail (GTK_IS_TREE_SELECTION (selection));
g_return_if_fail (selection->tree_view != NULL);
- g_return_if_fail (selection->tree_view->priv->tree != NULL);
+ if (selection->tree_view->priv->tree == NULL)
+ return;
g_return_if_fail (selection->type != GTK_TREE_SELECTION_MULTI);
if (gtk_tree_selection_real_select_all (selection))
@@ -756,7 +757,9 @@ gtk_tree_selection_unselect_all (GtkTreeSelection *selection)
{
g_return_if_fail (GTK_IS_TREE_SELECTION (selection));
g_return_if_fail (selection->tree_view != NULL);
- g_return_if_fail (selection->tree_view->priv->tree != NULL);
+ if (selection->tree_view->priv->tree == NULL)
+ return;
+
if (selection->tree_view->priv->tree == NULL)
return;