[gtkmm] Gtkmm-forge digest, Vol 1 #727 - 1 msg



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 147592] New:  - Gtk::Settings::get_default()  should not use RefPtr? (bugzilla-daemon bugzilla gnome org)

--__--__--

Message: 1
From: bugzilla-daemon bugzilla gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Wed, 14 Jul 2004 13:29:46 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 147592] New:  - Gtk::Settings::get_default()  should not use RefPtr?

http://bugzilla.gnome.org/show_bug.cgi?id=147592
gtkmm | general | Ver: 2.4

           Summary: Gtk::Settings::get_default()  should not use RefPtr?
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: raymond dotsphinx com


After using Gtk::Settings::get_default() in my code, the application suddenly
started crashing randomly. What I think is happening is that my app is
indirectly destructing the settings (because of the RefPtr), but it is not the
owner of the settings.  At least, that is what I conclude by looking into the
sources of GTK+ (the GtkSettings object is attached to a GdkScreen, and should
not be freed)

IMHO, Gtk::Settings::get_default() should not return a Glib::RefPtr.

PS: The same holds for "get_for_screen()".

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



--__--__--

_______________________________________________
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]