#33 Fix for map screenshots wrong?

closed-fixed
nobody
None
5
2007-01-09
2007-01-06
Anonymous
No

I posted this as a comment to the bug but since it's already closed, I don't know if anyone will see it.

I don't think the fix in CVS is the right fix.

Instead of gtk_object_unref(GTK_OBJECT(loader)) (which is deprecated), use g_object_unref(loader) without the cast to GTK_OBJECT.

When I use the code in CVS, I get 2 errors about bad cast from pixbuf to object. When I use g_object_unref(loader) in both places, I don't see any errors.

The end user functionality is the same (both work), but when I use g_object_unref, I don't get errors on the console.

Discussion

  • Ludwig Nussel

    Ludwig Nussel - 2007-01-09

    Logged In: YES
    user_id=333900
    Originator: NO

    it's different for gtk1 and gtk2

     
  • Ludwig Nussel

    Ludwig Nussel - 2007-01-09
    • status: open --> closed-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks