projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use Color::is_straight(). Also, re-enable the optimization for straight blending...
[synfig.git]
/
synfig-studio
/
trunk
/
src
/
gtkmm
/
dockbook.cpp
diff --git
a/synfig-studio/trunk/src/gtkmm/dockbook.cpp
b/synfig-studio/trunk/src/gtkmm/dockbook.cpp
index
21ed82f
..
5d1a460
100644
(file)
--- a/
synfig-studio/trunk/src/gtkmm/dockbook.cpp
+++ b/
synfig-studio/trunk/src/gtkmm/dockbook.cpp
@@
-38,6
+38,8
@@
#include <gtkmm/eventbox.h>
#include <gtkmm/menu.h>
#include <gtkmm/eventbox.h>
#include <gtkmm/menu.h>
+#include "general.h"
+
#endif
/* === U S I N G =========================================================== */
#endif
/* === U S I N G =========================================================== */
@@
-238,6
+240,7
@@
DockBook::tab_button_pressed(GdkEventButton* event, Dockable* dockable)
return false;
Gtk::Menu *tabmenu=manage(new class Gtk::Menu());
return false;
Gtk::Menu *tabmenu=manage(new class Gtk::Menu());
+ tabmenu->signal_hide().connect(sigc::bind(sigc::ptr_fun(&delete_widget), tabmenu));
tabmenu->items().push_back(
Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-close"),
tabmenu->items().push_back(
Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-close"),