mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 22:10:08 +00:00
Return TRUE if all the data got eaten by header_buf, instead of FALSE.
Return TRUE if all the data got eaten by header_buf, instead of FALSE.
This commit is contained in:
parent
9efff07116
commit
966ae7b613
@ -332,7 +332,7 @@ gdk_pixbuf_loader_write (GdkPixbufLoader *loader, guchar *buf, size_t count)
|
||||
if (count > 0 && priv->image_module->load_increment)
|
||||
return (* priv->image_module->load_increment) (priv->context, buf, count);
|
||||
|
||||
return (FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -332,7 +332,7 @@ gdk_pixbuf_loader_write (GdkPixbufLoader *loader, guchar *buf, size_t count)
|
||||
if (count > 0 && priv->image_module->load_increment)
|
||||
return (* priv->image_module->load_increment) (priv->context, buf, count);
|
||||
|
||||
return (FALSE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user