Paul Wise >Looks like this was caused by dooglus' checkins 252, 253.
Nope. I'm found what that problem was here a long time. In previous version
"IMAGIFY_BUTTON(button,Gtk::Stock::DELETE,"Erase All");" string in
src/gtkmm/preview.cpp was commented. Scince hints was added it not commented
any more. The compilation break at this line due name conflict between
Gtk::Stock::DELETE and DELETE constant from winnt.h. The gtkmm/stock.h of Gtkmm
has some solution:
/* Shadow DELETE macro (from winnt.h).
*/
#if defined(DELETE) && !defined(GTKMM_MACRO_SHADOW_DELETE)
enum { GTKMM_MACRO_DEFINITION_DELETE = DELETE };
#undef DELETE
enum { DELETE = GTKMM_MACRO_DEFINITION_DELETE };
#define DELETE DELETE
#define GTKMM_MACRO_SHADOW_DELETE 1
#endif
Hmm... But it does not work. Or something else... As I told, I don't know
Gtk+/Gtkmm and my knowledge of C/C++ are limited, so I can't find the solution,
but I make the dirty hack by replacing "Gtk::Stock::DELETE" to
"GTK_STOCK_DELETE" from gtk-2.0/gtk/gtkstock.h. Looks like it work, I hope. ;-)
At least the button has correct picture.
Of course it will be better to find the correct solution, but I can't do that
now... :-(
Chris Moore> Oops. Looks like I broke something, but I can't see why.
No, it does not your error, as written above. And it can't be reproduced in
Linux. But I hope what my description will be helpful.
Atrus.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl