X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Ficoncontroller.cpp;h=1c1ed5918f4d10bd0611927740a13f072570e74e;hb=756c0d29ac1742f231e6615f9a577e574e35a4af;hp=4d90c55e050dd511030e4cce20c97aa7160cd2a3;hpb=f7c2dc75685bf7dfce2b8152656938f66d6df11e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp index 4d90c55..1c1ed59 100644 --- a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp @@ -6,7 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** Copyright (c) 2007 Chris Moore +** Copyright (c) 2007, 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -227,16 +227,11 @@ Gdk::Cursor IconController::get_tool_cursor(const Glib::ustring& name,const Glib::RefPtr& window) { Glib::RefPtr pixmap; - DEBUGPOINT(); pixmap=Gdk::Pixmap::create(window, 64, 64, 8); - DEBUGPOINT(); pixmap->set_colormap(window->get_colormap()); //pixmap->set_colormap(Gdk::Colormap::create(pixmap->get_visual(),false)); - DEBUGPOINT(); Glib::RefPtr pixbuf; - DEBUGPOINT(); pixbuf=Gtk::Button().render_icon(Gtk::StockID("synfig-"+name),Gtk::ICON_SIZE_SMALL_TOOLBAR); - DEBUGPOINT(); pixbuf->render_to_drawable_alpha( pixmap, @@ -259,12 +254,10 @@ IconController::get_tool_cursor(const Glib::ustring& name,const Glib::RefPtr