summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@src.gnome.org>2002-05-07 20:00:47 +0000
committerMikael Hallendal <hallski@src.gnome.org>2002-05-07 20:00:47 +0000
commit27901756c68ad83a04038aadf77f4dd0ef4e48c3 (patch)
tree1c222ed913cd5b93f297a7050cd44260c1ff50d5
parente576b11789e0dc0db7b64257a1fa76e3c637af9e (diff)
downloadyelp-27901756c68ad83a04038aadf77f4dd0ef4e48c3.tar.gz
reverted, didn't make a difference and it should never happen.
-rw-r--r--ChangeLog2
-rw-r--r--src/yelp-section.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 2dccc513..0b7cc5bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,6 @@
2002-05-07 Mikael Hallendal <micke@codefactory.se>
* src/yelp-section.c:
- (yelp_section_compare): return if either of a->name or b->name is
- NULL.
(yelp_section_new): check if name == NULL, hopefully fixes #80981.
* src/yelp-scrollkeeper.c:
diff --git a/src/yelp-section.c b/src/yelp-section.c
index b61df2f7..14e5ce29 100644
--- a/src/yelp-section.c
+++ b/src/yelp-section.c
@@ -78,10 +78,6 @@ gint
yelp_section_compare (gconstpointer a,
gconstpointer b)
{
- if (!(((YelpSection *)a)->name) || !(((YelpSection *)b)->name)) {
- return 0;
- }
-
return strcmp (((YelpSection *)a)->name,
((YelpSection *)b)->name);
}