forked from AuroraMiddleware/gtk
image: Fix gcc warnings
This commit is contained in:
parent
f04c12bd2c
commit
a213b0b33e
@ -788,14 +788,11 @@ void
|
|||||||
gtk_image_set_from_resource (GtkImage *image,
|
gtk_image_set_from_resource (GtkImage *image,
|
||||||
const gchar *resource_path)
|
const gchar *resource_path)
|
||||||
{
|
{
|
||||||
GtkImagePrivate *priv;
|
|
||||||
GdkPixbuf *pixbuf;
|
GdkPixbuf *pixbuf;
|
||||||
GInputStream *stream;
|
GInputStream *stream;
|
||||||
|
|
||||||
g_return_if_fail (GTK_IS_IMAGE (image));
|
g_return_if_fail (GTK_IS_IMAGE (image));
|
||||||
|
|
||||||
priv = image->priv;
|
|
||||||
|
|
||||||
g_object_freeze_notify (G_OBJECT (image));
|
g_object_freeze_notify (G_OBJECT (image));
|
||||||
|
|
||||||
gtk_image_clear (image);
|
gtk_image_clear (image);
|
||||||
|
Loading…
Reference in New Issue
Block a user