Gtkmm-forge Digest, Vol 6, Issue 10



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 374094] New: Freeing Gtk owned memory in
      Gtk::Style::lookup_icon_set (gtkmm (bugzilla.gnome.org))
   2. [Bug 374094] Freeing Gtk owned memory in
      Gtk::Style::lookup_icon_set (gtkmm (bugzilla.gnome.org))
   3. [Bug 374094] Freeing Gtk owned memory in
      Gtk::Style::lookup_icon_set (gtkmm (bugzilla.gnome.org))
   4. [Bug 352111] no function Pango::LayoutIter
      wrap(PangoLayoutIter*, bool) (gtkmm (bugzilla.gnome.org))


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

Message: 1
Date: Sun, 12 Nov 2006 00:22:18 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 374094] New: Freeing Gtk owned memory
	in	Gtk::Style::lookup_icon_set
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-374094-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

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=374094

  gtkmm | general | Ver: unspecified

           Summary: Freeing Gtk owned memory in Gtk::Style::lookup_icon_set
           Product: gtkmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: nielsen memberwebs com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Gtk::Style::lookup_icon_set returns a Gtk::IconSet which doesn't copy the
internal GtkIconSet object. This results in freeing Gtk's internal copy of the
icon set.

A second call to Style::lookup_icon_set for the same icon will crash, hang
etc...

BUG occurs:
IconSet set = style->lookup_icon_set(STOCK_APPLICATION); 

WORKAROUND:
GtkIconSet* gset = gtk_style_lookup_icon_set(style->gobj(),                    
                                      STOCK_APPLICATION.get_string().c_str());
IconSet set(gset, true);

Will attach a patch.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 2
Date: Sun, 12 Nov 2006 00:22:51 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 374094] Freeing Gtk owned memory in
	Gtk::Style::lookup_icon_set
To: gtkmm-forge lists sourceforge net
Message-ID: <20061112002251 7D7866C40AB box gnome org>
Content-Type: text/plain; charset=utf-8

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=374094

  gtkmm | general | Ver: unspecified





------- Comment #1 from Nate Nielsen  2006-11-12 00:21 UTC -------
Created an attachment (id=76410)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=76410&action=view)
Patch which fixes lookup_icon_set


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 3
Date: Sun, 12 Nov 2006 00:23:41 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 374094] Freeing Gtk owned memory in
	Gtk::Style::lookup_icon_set
To: gtkmm-forge lists sourceforge net
Message-ID: <20061112002341 B22786C40AA box gnome org>
Content-Type: text/plain; charset=utf-8

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=374094

  gtkmm | general | Ver: unspecified





------- Comment #2 from Nate Nielsen  2006-11-12 00:22 UTC -------
Created an attachment (id=76411)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=76411&action=view)
Test case for bug and patch. 


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

Message: 4
Date: Sun, 12 Nov 2006 09:18:12 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 352111] no function Pango::LayoutIter
	wrap(PangoLayoutIter*, bool)
To: gtkmm-forge lists sourceforge net
Message-ID: <20061112091812 CB89D6C40EF box gnome org>
Content-Type: text/plain; charset=utf-8

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=352111

  gtkmm | general | Ver: 2.9.x





------- Comment #2 from Ralf Stephan  2006-11-12 09:17 UTC -------
Created an attachment (id=76422)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=76422&action=view)
Patch: adds wrap() functions for Pango::LayoutIter, some other documentation

The patch, besides giving more documentation on Gdk::Drawable, adds the
functions

Pango::LayoutIter& wrap (PangoLayoutIter *object);
const Pango::LayoutIter& wrap (const PangoLayoutIter *object);


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email



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

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

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

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


End of Gtkmm-forge Digest, Vol 6, Issue 10
******************************************



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