Gtkmm-forge digest, Vol 1 #1034 - 3 msgs
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Cc:
- Subject: Gtkmm-forge digest, Vol 1 #1034 - 3 msgs
- Date: Tue, 10 Jan 2006 20:09:50 -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. Do not try to unsubscribe gtkmm-forge from gtkmm-list.
Today's Topics:
1. [Bug 326512] New: Patch to correct XML construct from buffer (gnomemm (bugzilla.gnome.org))
2. [Bug 326512] Patch to correct XML construct from buffer (gnomemm (bugzilla.gnome.org))
3. [Bug 326512] Patch to correct XML construct from buffer (gnomemm (bugzilla.gnome.org))
--__--__--
Message: 1
To: gtkmm-forge lists sourceforge net
From: "gnomemm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Tue, 10 Jan 2006 15:26:25 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 326512] New: Patch to correct XML construct from buffer
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D326512
gnomemm | libglademm | Ver: 2.10
Summary: Patch to correct XML construct from buffer
Product: gnomemm
Version: 2.10
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: libglademm
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: doug mobile-intelligence com
QAContact: gtkmm-forge lists sourceforge net
GNOME version: Unspecified
GNOME milestone: Unspecified
The existing XML construct from buffer does not attach the new objects to=
the
correct base object. This results in not being able to register for even=
ts on
the base object, since they are not passed in.
The problem is its use of glade_xml_new_from_buffer, which creates a new =
object
instead of attaching to the existing one. Bug 326511 has been entered wi=
th a
patch to add glade_xml_construct_from_buffer to libglade. This patch swi=
tches
the XML construct from buffer method to use that new method, thereby fixi=
ng the
problem.
Here is the patch:
--- libglademm-2.6.1/libglade/libglademm/xml.cc 2006-01-09 18:27:30.00000=
0000
-0500
+++ libglademm-2.6.1/libglade/libglademm/xml.cc_new 2006-01-09
18:27:15.000000000 -0500
@@ -70,15 +70,16 @@
}
}
-// TODO: we need glade_xml_construct_from_buffer()
Xml::Xml(const char* buffer, int size, const Glib::ustring& root, const
Glib::ustring& domain)
:
- Glib::ObjectBase(0),
- Glib::Object((GObject*) glade_xml_new_from_buffer(
- buffer, size, root.empty() ? 0 : root.c_str(), domain.empty() ? 0 =
:
domain.c_str()))
-{
- if(!gobj())
+ Glib::ObjectBase(0), //Mark this class as gtkmmproc-generated, rather =
than a
custom class, to allow vfunc optimisations.
+ Glib::Object(Glib::ConstructParams(xml_class_.init(), (char*) 0))
+{
+ if(!glade_xml_construct_from_buffer(gobj(), buffer, size, root.empty()=
? 0
: root.c_str(),
+ domain.empty() ? 0 :
domain.c_str()))
+ {
throw XmlError("Failed to read glade input buffer");
+ }
}
// static
--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
--__--__--
Message: 2
To: gtkmm-forge lists sourceforge net
From: "gnomemm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Tue, 10 Jan 2006 15:27:08 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 326512] Patch to correct XML construct from buffer
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D326512
gnomemm | libglademm | Ver: 2.10
Doug changed:
What |Removed |Added
-------------------------------------------------------------------------=
---
BugsThisDependsOn| |326511
--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
--__--__--
Message: 3
To: gtkmm-forge lists sourceforge net
From: "gnomemm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Tue, 10 Jan 2006 15:28:17 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 326512] Patch to correct XML construct from buffer
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D326512
gnomemm | libglademm | Ver: 2.10
Doug changed:
What |Removed |Added
-------------------------------------------------------------------------=
---
Severity|normal |enhancement
--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
--__--__--
_______________________________________________
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]