~ubuntu-branches/ubuntu/hardy/eel2/hardy-proposed

« back to all changes in this revision

Viewing changes to eel/eel-gdk-pixbuf-extensions.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-05-28 21:36:53 UTC
  • mfrom: (1.1.33 upstream)
  • Revision ID: james.westby@ubuntu.com-20080528213653-scts0dl142efpbce
Tags: 2.22.2-0ubuntu1
* New upstream version (lp: #235584):
  - Fix compiler warnings
  - g_assert() in static functions, instead of g_return_if_fail().

Show diffs side-by-side

added added

removed removed

Lines of Context:
845
845
pixbuf_destroy_callback (guchar  *pixels,
846
846
                         gpointer callback_data)
847
847
{
848
 
        g_return_if_fail (pixels != NULL);
849
 
        g_return_if_fail (callback_data != NULL);
 
848
        g_assert (pixels != NULL);
 
849
        g_assert (callback_data != NULL);
850
850
 
851
851
        g_object_unref (callback_data);
852
852
}