Re: Patch shortening GIMP startup time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-08-31 at 14:18 +0200, Łukasz Czerwiński wrote:
> >
> > Passing a string literal directly to g_message() is also not a good
> > idea. Please use g_message("%s", message) instead. But I didn't
> > understand what this part of your patch is trying to achieve.
> >
> 
> Why it's not a good idea? What's the difference? Nevertheless, ok,
> I'll change it.

Because if you write g_message(string) and string happens to be
"Format %s string %d attack %s", you are screwed :-)

ciao,
--mitch


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux