mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 11:32:04 +00:00
2007-10-25 Emmanuele Bassi <ebassi@openedhand.com>
* clutter/clutter-texture.c (clutter_texture_set_property): Do not try to set NULL pixbufs.
This commit is contained in:
parent
f0f043cb19
commit
33ef32d7cd
@ -1,3 +1,8 @@
|
||||
2007-10-25 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-texture.c (clutter_texture_set_property): Do
|
||||
not try to set NULL pixbufs.
|
||||
|
||||
2007-10-25 Emmanuele Bassi <ebassi@openedhand.com>
|
||||
|
||||
* clutter/clutter-actor.c: Implement part of the ClutterScriptable
|
||||
|
@ -797,9 +797,10 @@ clutter_texture_set_property (GObject *object,
|
||||
switch (prop_id)
|
||||
{
|
||||
case PROP_PIXBUF:
|
||||
clutter_texture_set_pixbuf (texture,
|
||||
GDK_PIXBUF (g_value_get_object (value)),
|
||||
NULL);
|
||||
if (g_value_get_object (value))
|
||||
clutter_texture_set_pixbuf (texture,
|
||||
GDK_PIXBUF (g_value_get_object (value)),
|
||||
NULL);
|
||||
break;
|
||||
case PROP_USE_TILES:
|
||||
priv->is_tiled = g_value_get_boolean (value);
|
||||
|
Loading…
Reference in New Issue
Block a user