diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-08-21 06:23:16 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-08-21 06:23:16 +0800 |
commit | 79755c0056e7777fc5786f771e7ecf07be77bfef (patch) | |
tree | c72a21242049c2d7ad3ecfe62d619f083a8004a0 | |
parent | 86923cf976c004703da78a4d26c140f4def1128b (diff) | |
download | gsoc2013-epiphany-79755c0056e7777fc5786f771e7ecf07be77bfef.tar.gz 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-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/bookmarks/ephy-topic-action.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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); } |