After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 565856 - TagSelectionWidget must provide a protected or public IntPtr ctor
TagSelectionWidget must provide a protected or public IntPtr ctor
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: General
SVN
Other Linux
: Normal minor
: 0.7.1
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-28 10:26 UTC by Maxxer
Modified: 2010-06-19 14:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tsw-protected-ctor.patch (815 bytes, patch)
2008-12-28 10:28 UTC, Maxxer
none Details | Review
tsw-protected-ctor.patch (1.33 KB, patch)
2008-12-28 10:43 UTC, Maxxer
committed Details | Review

Description Maxxer 2008-12-28 10:26:39 UTC
Got the following exception:

[Debug 11:10:33.861] open uri = file:///home/maxxer/Photos/2008/12/27/27122008270.jpg
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
GLib.MissingIntPtrCtorException: GLib.Object subclass TagSelectionWidget must provide a protected or public IntPtr ctor to support wrapping of native object handles.
  at GLib.ObjectManager.CreateObject (IntPtr raw) [0x00000] 
  at GLib.Object.GetObject (IntPtr o, Boolean owned_ref) [0x00000] 
  at Gtk.Widget.buttonpressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] 
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at Gtk.Widget.buttonpressevent_cb(IntPtr widget, IntPtr evnt)
   at Gtk.Widget.buttonpressevent_cb(IntPtr , IntPtr )
   at Gtk.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at FSpot.Driver.Main(System.String[] args) in /home/maxxer/work/fspot/install/src/main.cs:line 335
Comment 1 Maxxer 2008-12-28 10:28:44 UTC
Created attachment 125424 [details] [review]
tsw-protected-ctor.patch
Comment 2 Maxxer 2008-12-28 10:43:22 UTC
Created attachment 125425 [details] [review]
tsw-protected-ctor.patch

wrong patch...
Comment 3 Maxxer 2010-06-19 14:38:04 UTC
commit 03c3b57c949dd843b8bd4772c199b7ab9bcf2972
Author: Lorenzo Milesi <maxxer@yetopen.it>
Date:   Thu Jun 17 12:31:03 2010 +0200

    Provide a protected ctor(IntPtr).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=565856