Gtkmm-forge Digest, Vol 38, Issue 9



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 548022] Gtk::Builder::get_widget():	Incomplete
      documentation about exceptions thrown (gtkmm (bugzilla.gnome.org))
   2. [Bug 558017] Build failure due to some perl macro
      (gtkmm (bugzilla.gnome.org))
   3. [Bug 573482] Gtk::Builder: autoconnecting signals
      (gtkmm (bugzilla.gnome.org))
   4. [Bug 573482] Gtk::Builder: autoconnecting signals
      (gtkmm (bugzilla.gnome.org))
   5. [Bug 553024] switching notebook pages while	removing them
      fails ungracefully (gtkmm (bugzilla.gnome.org))
   6. [Bug 589267] Crash when Gtk::Builder::get_widget()	doesn't
      find the specified widget (gtkmm (bugzilla.gnome.org))
   7. [Bug 589683] New:	Gio::MemoryInputStream::add_data() wrapped
      badly (glibmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Tue, 21 Jul 2009 16:37:35 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 548022] Gtk::Builder::get_widget():
	Incomplete documentation about exceptions thrown
To: gtkmm-forge lists sourceforge net
Message-ID: <20090721163735 368B723F590 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=548022

  gtkmm | general | Ver: 2.12.x




------- Comment #6 from Alexander Shaduri  2009-07-21 16:37 UTC -------
(In reply to comment #5)
> I added the catch around the add_to_file() call:
> http://git.gnome.org/cgit/gtkmm-documentation/commit/?id=500884ea10a3dfc1b18cf488b56e9fc0938b989f
> 
> I don't think get_widget() throws any exception. Or are you sure that it does?
> 

Sorry, I assumed that since it's get_widget() that causes the segfault, the
try/catch would need to be around it. I'm not aware of any exceptions it may
throw. My mistake.

I guess this leaves us with fixing the documentation about the exact exceptions
being thrown by, say, add_from_file() (I can think of at least three:
Glib::FileError, Glib::MarkupError, Glib::BuildError). We will probably have to
wait for gtk bug http://bugzilla.gnome.org/show_bug.cgi?id=560147 to be
resolved.


-- 
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=548022.



------------------------------

Message: 2
Date: Tue, 21 Jul 2009 22:12:39 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 558017] Build failure due to some perl
	macro
To: gtkmm-forge lists sourceforge net
Message-ID: <20090721221239 4977B23F591 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=558017

  gtkmm | build | Ver: unspecified




------- Comment #11 from Daniel Elstner  2009-07-21 22:12 UTC -------
Is this a jhbuild session?  Are you using the system glibmm or did you build
that from git as well?

If you built glibmm yourself, it could be that the M4 file with the macro has
been installed to a location where aclocal doesn't look for it by default. In
that case, adding the necessary -I option to the ACLOCAL_FLAGS environment
variable should help. For a quick test, just installing the distribution's
glibmm development package should make it work, too.


-- 
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=558017.



------------------------------

Message: 3
Date: Wed, 22 Jul 2009 11:20:24 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 573482] Gtk::Builder: autoconnecting
	signals
To: gtkmm-forge lists sourceforge net
Message-ID: <20090722112024 A5AF023F58F 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=573482

  gtkmm | general | Ver: unspecified

Stas Sergeev changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137454|0                           |1
        is obsolete|                            |




------- Comment #66 from Stas Sergeev  2009-07-22 11:20 UTC -------
Created an attachment (id=138986)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=138986&action=view)
Gtk::Builder::connect_signals() implementation

Added connect_signals<T>(void) template to make it
clear that you do _not_ need to fill the SlotsContainer
object.


-- 
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=573482.



------------------------------

Message: 4
Date: Wed, 22 Jul 2009 11:23:44 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 573482] Gtk::Builder: autoconnecting
	signals
To: gtkmm-forge lists sourceforge net
Message-ID: <20090722112344 881FF387E36 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=573482

  gtkmm | general | Ver: unspecified

Stas Sergeev changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #137218|0                           |1
        is obsolete|                            |




------- Comment #67 from Stas Sergeev  2009-07-22 11:23 UTC -------
Created an attachment (id=138987)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=138987&action=view)
example patch

Demonstrate that.


-- 
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=573482.



------------------------------

Message: 5
Date: Thu, 23 Jul 2009 05:10:10 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 553024] switching notebook pages while
	removing them fails ungracefully
To: gtkmm-forge lists sourceforge net
Message-ID: <20090723051010 D877423F591 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=553024

  gtkmm | general | Ver: 2.4.x

Sakari Bergen changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED




------- Comment #6 from Sakari Bergen  2009-07-23 05:10 UTC -------
Sorry this took so long, confirmed to be fixed in 2.16.0.


-- 
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=553024.



------------------------------

Message: 6
Date: Thu, 23 Jul 2009 17:18:10 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 589267] Crash when
	Gtk::Builder::get_widget()	doesn't find the specified widget
To: gtkmm-forge lists sourceforge net
Message-ID: <20090723171810 DC68823F590 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=589267

  gtkmm | general | Ver: 2.16.x

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from Murray Cumming  2009-07-23 17:18 UTC -------
This should be fixed by this commit in master, which I will cherry-pick to
other branches tomorrow too:

2009-07-23  Murray Cumming  <murrayc murrayc com>

        Gtk::Builder: Fix a crash when the widget is not found.

        * gtk/src/builder.ccg: get_widget_checked(): Prevent a crash if the
widget 
        was not found by GtkBuilder.
        Bug #589267 (Alexander Shaduri)


-- 
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=589267.



------------------------------

Message: 7
Date: Sat, 25 Jul 2009 13:16:14 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 589683] New:
	Gio::MemoryInputStream::add_data() wrapped badly
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-589683-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=589683

  glibmm | giomm | Ver: unspecified
           Summary: Gio::MemoryInputStream::add_data() wrapped badly
           Product: glibmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: giomm
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jonathon quotidian org
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


an email from the mailing list:

On Sat, Jul 18, 2009 at 3:29 PM, Robert Hildebrandt<roberts_katz gmx de> wrote:
> Hi,
>
> Some Suggestions (for the case it's all nonsence: sorry - I'm a beginner)
> I spend two days wondering, why my program didn't worked, until I found out,
> that Gio::MemoryInputStream::add_data doesn't copy anything, and
> MemoryInputStream owns the pointer afterwards.
> I thing, that it could be useful for other users if this was documented (I'm
> using glibmm 2.4 Documentation (does anybody know why it's 2.4 and not 2.20
> like the current Version?))
> Also it could be nice if there was a possibility to define the
> GDestroyNotify Function without beeing forced to wrap a C Object
>

It seems that we wrap the add_data() with a std::string argument and a raw
pointer argument, but the raw pointer one doesn't provide a way to specify a
free DestroyNotify function nor does it document that we (apparently) free it
ourselves.  The raw pointer overload should probably be deprecated and wrapped
properly.


-- 
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=589683.



------------------------------

------------------------------------------------------------------------------


------------------------------

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest, Vol 38, Issue 9
******************************************


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]