[gtkmm] Gtkmm-forge digest, Vol 1 #554 - 6 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: [gtkmm] Gtkmm-forge digest, Vol 1 #554 - 6 msgs
- Date: Tue, 11 Nov 2003 20:07:56 -0800
Send Gtkmm-forge mailing list submissions to
gtkmm-forge lists sourceforge net
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
gtkmm-forge-request lists sourceforge net
You can reach the person managing the list at
gtkmm-forge-admin lists sourceforge net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."
gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla. A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs.
Today's Topics:
1. [Bug 107584] Changed - libbonoboui "hello" example segfault on quit (bugzilla-daemon widget gnome org)
2. [Bug 126721] New - can not access elements of TreeView::get_columns()const (bugzilla-daemon widget gnome org)
3. [Bug 126756] New - wrong usage of DES_set_key() function (bugzilla-daemon widget gnome org)
4. [Bug 107584] Changed - libbonoboui "hello" example segfault on quit (bugzilla-daemon widget gnome org)
5. [Bug 107584] Changed - libbonoboui "hello" example segfault on quit (bugzilla-daemon widget gnome org)
6. [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3 (bugzilla-daemon widget gnome org)
--__--__--
Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, mxpxfifws yahoo com
Cc:
Date: Tue, 11 Nov 2003 00:40:00 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 107584] Changed - libbonoboui "hello" example segfault on quit
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=107584
Changed by bowie owens csiro au
--- shadow/107584 Tue Jul 15 03:04:30 2003
+++ shadow/107584.tmp.17681 Tue Nov 11 00:40:00 2003
@@ -89,6 +89,18 @@
it. Thanks for checking this all out for me Murray. Hopefully, soon,
I'll be able to figure it out after dealing with vfs stuff :).
------- Additional Comments From murrayc usa net 2003-07-15 03:04 -------
I finally built the latest cvs orbit and libbonobouimm and this bug
still exists.
+
+------- Additional Comments From bowie owens csiro au 2003-11-11 00:39 -------
+There are two problems with the example. First, the UIComponent_impl
+HelloWindow::m_servantComponent is destructed before the
+Gnome::Bonobo::Window base class. The destruction of the base class
+attempts to call methods on the m_servantComponent resulting in the
+segmentation fault you are getting. Next, the m_servantComponent is
+activiated in the Root POA but never deactivated. When program exits
+ORBit tries to clean up all still active objects. Again resulting in a
+seg fault. Thus the simplest and most hackish way to fix the problem
+is to new allocate the HelloWindow object and never delete it. I
+haven't got my head around the correct way to fix these two problems.
--__--__--
Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Tue, 11 Nov 2003 07:51:22 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 126721] New - can not access elements of TreeView::get_columns()const
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=126721
Changed by christof petig-baender de
--- shadow/126721 Tue Nov 11 07:51:22 2003
+++ shadow/126721.tmp.4379 Tue Nov 11 07:51:22 2003
@@ -0,0 +1,50 @@
+Bug#: 126721
+Product: gtkmm
+Version: 2.2
+OS: Linux
+OS Details:
+Status: NEW
+Resolution:
+Severity: minor
+Priority: Normal
+Component: TreeView
+AssignedTo: gtkmm-forge lists sourceforge net
+ReportedBy: christof petig-baender de
+TargetMilestone: ---
+URL:
+Summary: can not access elements of TreeView::get_columns()const
+
+Since I can not dereference the list elements, the get_columns()const is of
+little value:
+
+#include <gtkmm/treeview.h>
+
+typedef Glib::ListHandle<const Gtk::TreeViewColumn*> list_t;
+
+void f()
+{ list_t *l=0;
+ for (list_t::const_iterator x=l->begin();x!=l->end();++x)
+ *x;
+}
+
+---------
+# g++ -c x.cc `pkg-config --cflags gtkmm-2.0`
+
+/usr/include/gtkmm-2.0/glibmm/containerhandle_shared.h: In static member
+ function `static const T* Glib::Container_Helpers::TypeTraits<const
+ T*>::to_cpp_type(typename T::BaseObjectType*) [with T = Gtk::TreeViewColumn]
+ ':
+/usr/include/gtkmm-2.0/glibmm/listhandle.h:227: instantiated from
+`typename Tr
+::CppType Glib::Container_Helpers::ListHandleIterator<Tr>::operator*()
+const [wi
+th Tr = Glib::Container_Helpers::TypeTraits<const Gtk::TreeViewColumn*>]'
+x.cc:8: instantiated from here
+/usr/include/gtkmm-2.0/glibmm/containerhandle_shared.h:162: error: invalid
+ conversion from `const GtkTreeViewColumn*' to `GtkTreeViewColumn*'
+/usr/include/gtkmm-2.0/glibmm/containerhandle_shared.h:162: error:
+ initializing argument 1 of `Gtk::TreeViewColumn*
+ Glib::wrap(GtkTreeViewColumn*, bool)'
+
+# pkg-config --modversion gtkmm-2.0
+2.2.8
--__--__--
Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Tue, 11 Nov 2003 16:28:03 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 126756] New - wrong usage of DES_set_key() function
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=126756
Changed by toka freebits de
--- shadow/126756 Tue Nov 11 16:28:03 2003
+++ shadow/126756.tmp.21168 Tue Nov 11 16:28:03 2003
@@ -0,0 +1,36 @@
+Bug#: 126756
+Product: gtkmm
+Version: 2.2
+OS: Linux
+OS Details: Gentoo 1.4 - Linux 2.4.21
+Status: NEW
+Resolution:
+Severity: major
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net
+ReportedBy: toka freebits de
+TargetMilestone: ---
+URL:
+Summary: wrong usage of DES_set_key() function
+
+If I compile my project the following error will appear:
+
+In file included from /usr/include/gtkmm-2.0/gdkmm/display.h:30,
+ from /usr/include/gtkmm-2.0/gtkmm/widget.h:37,
+ from /usr/include/gtkmm-2.0/gtkmm/container.h:28,
+ from /usr/include/gtkmm-2.0/gtkmm/bin.h:29,
+ from /usr/include/gtkmm-2.0/gtkmm/window.h:31,
+ from ../include/windowtoplevel.h:24,
+ from main.cc:37:
+/usr/include/gtkmm-2.0/gdkmm/device.h:131:67: macro "des_set_key" passed 3
+arguments, but takes just 2
+In file included from /usr/include/gtkmm-2.0/gdkmm/display.h:30,
+ from /usr/include/gtkmm-2.0/gtkmm/widget.h:37,
+ from /usr/include/gtkmm-2.0/gtkmm/container.h:28,
+ from /usr/include/gtkmm-2.0/gtkmm/bin.h:29,
+ from /usr/include/gtkmm-2.0/gtkmm/window.h:31,
+ from ../include/windowtoplevel.h:24,
+ from main.cc:37:
+/usr/include/gtkmm-2.0/gdkmm/device.h:131: error: variable or field `
+ des_set_key' declared void
--__--__--
Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, mxpxfifws yahoo com
Cc:
Date: Tue, 11 Nov 2003 17:03:43 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 107584] Changed - libbonoboui "hello" example segfault on quit
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=107584
Changed by bowie owens csiro au
--- shadow/107584 Tue Nov 11 00:40:00 2003
+++ shadow/107584.tmp.12621 Tue Nov 11 17:03:43 2003
@@ -101,6 +101,11 @@
segmentation fault you are getting. Next, the m_servantComponent is
activiated in the Root POA but never deactivated. When program exits
ORBit tries to clean up all still active objects. Again resulting in a
seg fault. Thus the simplest and most hackish way to fix the problem
is to new allocate the HelloWindow object and never delete it. I
haven't got my head around the correct way to fix these two problems.
+
+------- Additional Comments From bowie owens csiro au 2003-11-11 17:03 -------
+Created an attachment (id=21368)
+Correct order of destruction and perform object deactivation (ugly and leaks memory/references).
+
--__--__--
Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, mxpxfifws yahoo com
Cc:
Date: Tue, 11 Nov 2003 17:18:14 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 107584] Changed - libbonoboui "hello" example segfault on quit
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=107584
Changed by bowie owens csiro au
--- shadow/107584 Tue Nov 11 17:03:43 2003
+++ shadow/107584.tmp.21446 Tue Nov 11 17:18:14 2003
@@ -106,6 +106,38 @@
haven't got my head around the correct way to fix these two problems.
------- Additional Comments From bowie owens csiro au 2003-11-11 17:03 -------
Created an attachment (id=21368)
Correct order of destruction and perform object deactivation (ugly and leaks memory/references).
+
+------- Additional Comments From bowie owens csiro au 2003-11-11 17:18 -------
+Hi,
+
+I have just added a patch that reorders the destruction of members and
+bases and deactivates the servant object before destroying it. The
+result is very ugly. To do this nicely I suggest we add a class
+template to bonobomm:
+
+// Encapsulate ownership of a single servant and automatically
+// deactivate in bonobo POA at end of lifetime.
+template <class S>
+class ServantOwner {
+protected:
+ S m_servant;
+ ~ServantOwner()
+ {
+ _orbitcpp::CEnvironment env;
+ PortableServer_POA poa = bonobo_poa();
+
+
+ PortableServer_Servant servant =
+m_servant._orbitcpp_get_c_servant();
+ PortableServer_ObjectId* oid =
+PortableServer_POA_servant_to_id(poa, servant, env._orbitcpp_cobj());
+ env.propagate_poaex();
+ PortableServer_POA_deactivate_object(poa, oid,
+env._orbitcpp_cobj());
+ env.propagate_poaex();
+ }
+};
+
--__--__--
Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc:
Date: Tue, 11 Nov 2003 19:41:42 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 126324] Changed - gtkmm 2.2 doesn't build with GTK+ 2.3
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=126324
Changed by pierre42d 9online fr
--- shadow/126324 Sun Nov 9 08:33:53 2003
+++ shadow/126324.tmp.7050 Tue Nov 11 19:41:42 2003
@@ -92,6 +92,10 @@
------- Additional Comments From murrayc usa net 2003-11-09 08:33 -------
The bug here is due to the DISABLE_DEPRECATED macros that have already
been remove. Strangely, gtkmm2 in cvs does seem to build even with
that slight GtkCellRenderer::render() API change in GTK+ 2.3. So not
#ifdef seems to be needed.
+
+------- Additional Comments From pierre42d 9online fr 2003-11-11 19:41 -------
+Yes, for information I build gtkmm 2.3.0 without any error
+
--__--__--
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]