aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-theme-boxes.c
diff options
context:
space:
mode:
authorGabriel Millaire <millaire.gabriel@gmail.com>2009-09-30 05:57:53 +0800
committerGabriel Millaire <gabriel.millaire@collabora.co.uk>2009-10-01 02:14:10 +0800
commitd7cd12a662172eca0276c8bbe13fc1257e0d0609 (patch)
treef0839dc666e7fb70ce9a1421243ae3d2990748ee /libempathy-gtk/empathy-theme-boxes.c
parent3f4adb1dc22d89c35b56ea5fa99a5976cfc101bb (diff)
downloadgsoc2013-empathy-d7cd12a662172eca0276c8bbe13fc1257e0d0609.tar
gsoc2013-empathy-d7cd12a662172eca0276c8bbe13fc1257e0d0609.tar.gz
gsoc2013-empathy-d7cd12a662172eca0276c8bbe13fc1257e0d0609.tar.bz2
gsoc2013-empathy-d7cd12a662172eca0276c8bbe13fc1257e0d0609.tar.lz
gsoc2013-empathy-d7cd12a662172eca0276c8bbe13fc1257e0d0609.tar.xz
gsoc2013-empathy-d7cd12a662172eca0276c8bbe13fc1257e0d0609.tar.zst
gsoc2013-empathy-d7cd12a662172eca0276c8bbe13fc1257e0d0609.zip
Fix after review
- Early return if no selection - Now uses a for-loop with gtk_text_iter_equal - Renamed flag_return to ignore_newlines, same meaning - Improvement to string_append
Diffstat (limited to 'libempathy-gtk/empathy-theme-boxes.c')
-rw-r--r--libempathy-gtk/empathy-theme-boxes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-theme-boxes.c b/libempathy-gtk/empathy-theme-boxes.c
index 0c989ba11..3d8b8ae7d 100644
--- a/libempathy-gtk/empathy-theme-boxes.c
+++ b/libempathy-gtk/empathy-theme-boxes.c
@@ -270,10 +270,10 @@ theme_boxes_maybe_append_header (EmpathyThemeBoxes *theme,
NULL);
str_obj = g_string_new ("\n- ");
- str_obj = g_string_append (str_obj, name);
- str_obj = g_string_append (str_obj, ", ");
- str_obj = g_string_append (str_obj, tmp);
- str_obj = g_string_append (str_obj, " -");
+ g_string_append (str_obj, name);
+ g_string_append (str_obj, ", ");
+ g_string_append (str_obj, tmp);
+ g_string_append (str_obj, " -");
g_free (tmp);
g_free (str);