[Users] [Bug 2617] code cleanup

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Feb 28 15:40:29 CET 2012


http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2617





--- Comment #1 from wwp  2012-02-28 15:40:29 ---
This one doesn't make sense to me, as color[] is used whatever the GTK+ version
is, a contrario to cmap, success[] and i which are used when GTK+ version
differs from 2.24.0. Won't compile if GTK+ version is 2.24.0.


--- src/compose.c    2011-12-30 06:00:40.000000000 +0100
+++ src/compose.c    2012-02-28 11:35:23.126835114 +0100
@@ -801,8 +801,8 @@ static void compose_create_tags(GtkTextV
     GdkColormap *cmap;
     gboolean success[8];
     int i;
-#endif
     GdkColor color[8];
+#endif

     buffer = gtk_text_view_get_buffer(text);

-- 
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Users mailing list