Gtkmm-forge Digest, Vol 22, Issue 9
- From: gtkmm-forge-request lists sourceforge net
- To: gtkmm-forge lists sourceforge net
- Subject: Gtkmm-forge Digest, Vol 22, Issue 9
- Date: Tue, 25 Mar 2008 08:40:30 -0700
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-owner 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 477041] Unable to build gtk/gtkmm/listviewtext.cc
(gtkmm (bugzilla.gnome.org))
2. [Bug 524128] Gtk::TextView widget doesn't like being updated
from other threads (gtkmm (bugzilla.gnome.org))
3. [Bug 520778] [PATCH] GNode wrapper implementation
(glibmm (bugzilla.gnome.org))
4. [Bug 524126] giomm build failure. (glibmm (bugzilla.gnome.org))
5. [Bug 523910] Use Requires.private in *.pc-file for pkg-config
(glibmm (bugzilla.gnome.org))
6. [Bug 524260] New: Use sigc::Slots instead of C-style
callbacks with void * arguments (gnomemm (bugzilla.gnome.org))
7. [Bug 520778] [PATCH] GNode wrapper implementation
(glibmm (bugzilla.gnome.org))
8. [Bug 524128] Gtk::TextView widget doesn't like being updated
from other threads (gtkmm (bugzilla.gnome.org))
----------------------------------------------------------------------
Message: 1
Date: Mon, 24 Mar 2008 20:14:19 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 477041] Unable to build
gtk/gtkmm/listviewtext.cc
To: gtkmm-forge lists sourceforge net
Message-ID: <20080324201419 5CCF723F518 label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=477041
gtkmm | build | Ver: 2.10.x
------- Comment #2 from The Written Word 2008-03-24 20:14 UTC -------
(In reply to comment #1)
> Could you find out what line in listviewtext.cc is triggering this, please?
Sorry for the delay. Line #64 is triggering this:
append_column_editable(column_title, m_model_columns.m_columns[i]);
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=477041.
------------------------------
Message: 2
Date: Mon, 24 Mar 2008 21:05:12 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 524128] Gtk::TextView widget doesn't
like being updated from other threads
To: gtkmm-forge lists sourceforge net
Message-ID: <20080324210512 9800923F51A label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=524128
gtkmm | build | Ver: 2.10.x
------- Comment #8 from VAnhTu1987 gmail com 2008-03-24 21:05 UTC -------
I wasn't able to reproduce the behavior of ScrolledWindow without a thread, you
are right.
Using Glib::Dispatcher hasn't resulted in any crash so far, but the
ScrolledWindow still didn't behave properly (I could visually see it being
over-scrolled to the bottom, so nothing was displayed, until I tried to select
the text inside did the text appear properly.
Whiteboard uses pthread for all of its works, figured I had to use Glib::Thread
for it to work. But Glib::Thread only supports sigc::signal<void>. In other
words, it makes things a lot more complicated to pass data between thread and
the main code in comparison to good 'ol pthread :/ .
Searching the mailing list archive with "glib::dispatcher pass data thread"
returned a thread from 2004: "The problem is that I'm still not convinced that
cross-thread signalling with arguments can be implemented correctly as a
generic template."
I am not an expert at designing multi-threaded applications, so I'd take his
words for granted. The thing is, there has been little documentation on how to
use Glib::Dispatcher: The class documentation is some what lacking, and its
example doesn't show a way to pass data between threads.
Searching for "pass data thread" didn't give any useful info either, isn't it a
common problem?. I'm not complaining though. Guess I'll have to leave it aside
and move on.
Thank you for the answers.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=524128.
------------------------------
Message: 3
Date: Tue, 25 Mar 2008 01:25:07 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 520778] [PATCH] GNode wrapper
implementation
To: gtkmm-forge lists sourceforge net
Message-ID: <20080325012508 0297D23F537 label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=520778
glibmm | general | Ver: 2.15.x
------- Comment #9 from Jonathon Jongsma (jonner) 2008-03-25 01:25 UTC -------
Is this patch against svn? I get several failures when I try to apply it.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=520778.
------------------------------
Message: 4
Date: Tue, 25 Mar 2008 02:19:47 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 524126] giomm build failure.
To: gtkmm-forge lists sourceforge net
Message-ID: <20080325021947 7AE2E23F50D label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=524126
glibmm | io | Ver: 2.16.x
Jonathon Jongsma (jonner) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathon quotidian org
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
------- Comment #1 from Jonathon Jongsma (jonner) 2008-03-25 02:19 UTC -------
I've checked in a change that I hope will fix this issue. I can't easily test
it, so I'd appreciate it if somebody would test it for me. If you can't easily
test from svn, let me know and I'll put together a tarball to test.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=524126.
------------------------------
Message: 5
Date: Tue, 25 Mar 2008 02:34:54 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 523910] Use Requires.private in
*.pc-file for pkg-config
To: gtkmm-forge lists sourceforge net
Message-ID: <20080325023454 10DA523F510 label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=523910
glibmm | general | Ver: 2.16.x
Jonathon Jongsma (jonner) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathon quotidian org
Status|UNCONFIRMED |RESOLVED
Resolution| |NOTABUG
------- Comment #2 from Jonathon Jongsma (jonner) 2008-03-25 02:34 UTC -------
yeah, I really don't think that we can do that. These libraries are exposed in
the glibmm headers.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=523910.
------------------------------
Message: 6
Date: Tue, 25 Mar 2008 07:11:17 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 524260] New: Use sigc::Slots instead of
C-style callbacks with void * arguments
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-524260-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=524260
gnomemm | libpanelappletmm | Ver: 2.6
Summary: Use sigc::Slots instead of C-style callbacks with void *
arguments
Product: gnomemm
Version: 2.6
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: libpanelappletmm
AssignedTo: gtkmm-forge lists sourceforge net
ReportedBy: manphiz gmail com
QAContact: gtkmm-forge lists sourceforge net
GNOME version: Unspecified
GNOME milestone: Unspecified
[Forwarded from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346482 which
was filed originally by Bas Wijnen <shevek fmf nl>]
The callbacks which are used for things like setup_menu take a void *
like the C version of them. Gtkmm usually uses sigc::Slot for that
purpose. This is very useful, because it allows to add extra arguments
using sigc::bind. It would be nice if libpanelappletmm would do the
same.
If this is done, some arguments may be omitted from the function
prototype, because they can be passed by the user if it is desired
(using sigc::bind) and only make the source unreadable otherwise. This
is particularly true for void *applet, because sigc::mem_fun can be used
to create the slot. It may also be true for BonoboUIComponent, I'm not
sure what that is for.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=524260.
------------------------------
Message: 7
Date: Tue, 25 Mar 2008 13:52:02 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 520778] [PATCH] GNode wrapper
implementation
To: gtkmm-forge lists sourceforge net
Message-ID: <20080325135202 DAFF723F51A label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=520778
glibmm | general | Ver: 2.15.x
Levi Bard changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #107926|0 |1
is obsolete| |
------- Comment #10 from Levi Bard 2008-03-25 13:52 UTC -------
Created an attachment (id=107992)
--> (http://bugzilla.gnome.org/attachment.cgi?id=107992&action=view)
Patch against trunk
Sorry, I thought I was working against trunk, but I actually had the 2.14
branch. Latest patch is against trunk.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=520778.
------------------------------
Message: 8
Date: Tue, 25 Mar 2008 15:40:34 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 524128] Gtk::TextView widget doesn't
like being updated from other threads
To: gtkmm-forge lists sourceforge net
Message-ID: <20080325154034 B3BAA23F513 label gnome org>
Content-Type: text/plain; charset=utf-8
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=524128
gtkmm | build | Ver: 2.10.x
------- Comment #9 from VAnhTu1987 gmail com 2008-03-25 15:40 UTC -------
I switched the bulk of pthread and plain sigc::signal code to Glib::Thread and
Glib::Dispatcher, the problem went away. Proceeding to move the rest of the
code to Glib.
The lack of data passing between threads were alleviated by member functions,
it is actually more manageable than I thought.
Thanks.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=524128.
------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
------------------------------
_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
End of Gtkmm-forge Digest, Vol 22, Issue 9
******************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]