diff options
author | Nikias Bassen | 2010-01-21 04:05:02 +0100 |
---|---|---|
committer | Martin Szulecki | 2010-01-21 11:01:15 +0100 |
commit | b8d3a352afd84e789c9ad7c2ab0b3c471425310b (patch) | |
tree | ec81f488be1f2f8e890665855d4914b967058067 /src | |
parent | dc03b964c715c098cfd0e43c66f5eebb4bd59fd0 (diff) | |
download | sbmanager-b8d3a352afd84e789c9ad7c2ab0b3c471425310b.tar.gz sbmanager-b8d3a352afd84e789c9ad7c2ab0b3c471425310b.tar.bz2 |
Prevent clutter_actor_get_parent errors when aligning dock items
Diffstat (limited to 'src')
-rw-r--r-- | src/sbmanager.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sbmanager.c b/src/sbmanager.c index 19b0cc7..eeb4875 100644 --- a/src/sbmanager.c +++ b/src/sbmanager.c @@ -489,6 +489,9 @@ static void gui_dock_align_icons(gboolean animated) /* set positions */ for (i = 0; i < count; i++) { SBItem *item = g_list_nth_data(dockitems, i); + if (!item || !item->texture) { + continue; + } ClutterActor *icon = clutter_actor_get_parent(item->texture); if (!icon) { continue; |