glom r1936 - in branches/glom-1-8: . glom/mode_data
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: glom r1936 - in branches/glom-1-8: . glom/mode_data
- Date: Wed, 25 Feb 2009 16:20:25 +0000 (UTC)
Author: murrayc
Date: Wed Feb 25 16:20:24 2009
New Revision: 1936
URL: http://svn.gnome.org/viewvc/glom?rev=1936&view=rev
Log:
2009-02-24 Armin Burgmeier <armin openismus com>
* glom/mode_data/flowtablewithfields.cc (add_field_at_position): Don't
leak the Gtk::EventBox.
Modified:
branches/glom-1-8/ChangeLog
branches/glom-1-8/glom/mode_data/flowtablewithfields.cc
Modified: branches/glom-1-8/glom/mode_data/flowtablewithfields.cc
==============================================================================
--- branches/glom-1-8/glom/mode_data/flowtablewithfields.cc (original)
+++ branches/glom-1-8/glom/mode_data/flowtablewithfields.cc Wed Feb 25 16:20:24 2009
@@ -539,7 +539,7 @@
label->set_property("yalign", 0.0); //Equivalent to Gtk::ALIGN_TOP. Center is neater next to entries, but center is silly next to large images.
}
- Gtk::EventBox* eventbox = new Gtk::EventBox();
+ Gtk::EventBox* eventbox = Gtk::manage(new Gtk::EventBox());
eventbox->add (*info.m_first);
eventbox->set_visible_window (false);
eventbox->set_events (Gdk::ALL_EVENTS_MASK);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]