Comment on attachment 312156 Updated to check GTK+ version
>diff -up mozilla/browser/components/shell/src/nsGNOMEShellService.cpp.gconf mozilla/browser/components/shell/src/nsGNOMEShellService.cpp
>+ColorToCString(PRUint32 aColor, nsCString& aResult)
>+ gchar *colorString = gdk_color_to_string(&color); >+ aResult.Adopt(colorString); >+ g_free(colorString);
Shouldn't you copy the string here?
Looks fine otherwise. Make sure to land the test too?
Comment on attachment 312156
Updated to check GTK+ version
>diff -up mozilla/ browser/ components/ shell/src/ nsGNOMEShellSer vice.cpp. gconf mozilla/ browser/ components/ shell/src/ nsGNOMEShellSer vice.cpp
>+ColorToCStrin g(PRUint32 aColor, nsCString& aResult)
>+ gchar *colorString = gdk_color_ to_string( &color) ; Adopt(colorStri ng); colorString) ;
>+ aResult.
>+ g_free(
Shouldn't you copy the string here?
Looks fine otherwise. Make sure to land the test too?