aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-08-21 06:23:16 +0800
committerChristian Persch <chpe@src.gnome.org>2005-08-21 06:23:16 +0800
commit79755c0056e7777fc5786f771e7ecf07be77bfef (patch)
treec72a21242049c2d7ad3ecfe62d619f083a8004a0
parent86923cf976c004703da78a4d26c140f4def1128b (diff)
downloadgsoc2013-epiphany-79755c0056e7777fc5786f771e7ecf07be77bfef.tar
gsoc2013-epiphany-79755c0056e7777fc5786f771e7ecf07be77bfef.tar.gz
gsoc2013-epiphany-79755c0056e7777fc5786f771e7ecf07be77bfef.tar.bz2
gsoc2013-epiphany-79755c0056e7777fc5786f771e7ecf07be77bfef.tar.lz
gsoc2013-epiphany-79755c0056e7777fc5786f771e7ecf07be77bfef.tar.xz
gsoc2013-epiphany-79755c0056e7777fc5786f771e7ecf07be77bfef.tar.zst
gsoc2013-epiphany-79755c0056e7777fc5786f771e7ecf07be77bfef.zip
2005-08-21 Christian Persch <chpe@cvs.gnome.org>
* src/bookmarks/ephy-topic-action.c: (ephy_topic_action_sync_label):
-rw-r--r--ChangeLog7
-rw-r--r--src/bookmarks/ephy-topic-action.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2af67f965..8183a35be 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2005-08-21 Christian Persch <chpe@cvs.gnome.org>
+ * src/bookmarks/ephy-topic-action.c:
+ (ephy_topic_action_sync_label):
+
+ Use strlen, not hardcoded length.
+
+2005-08-21 Christian Persch <chpe@cvs.gnome.org>
+
* src/ephy-tab.c: (ephy_tab_finalize):
Fix mem leak.
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index fc9716086..4885d2af6 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -211,7 +211,7 @@ ephy_topic_action_sync_label (GtkAction *gaction,
separator = g_strrstr (title, BOOKMARKS_HIERARCHY_SEP);
gtk_label_set_label (GTK_LABEL (label),
- separator != NULL ? separator + 2 : title);
+ separator != NULL ? separator + strlen(BOOKMARKS_HIERARCHY_SEP) : title);
g_free (title);
}