mirror of
https://github.com/labwc/labwc.git
synced 2025-11-05 13:29:58 -05:00
s/wl_list_insert(list.prev...)/wl_list_append(list...)/
This commit is contained in:
parent
042af48925
commit
89ad0b808f
11 changed files with 32 additions and 31 deletions
|
|
@ -1,10 +1,11 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
|
||||
#include <assert.h>
|
||||
#include "common/list.h"
|
||||
#include "common/mem.h"
|
||||
#include "labwc.h"
|
||||
#include "ssd.h"
|
||||
#include "node.h"
|
||||
#include "ssd.h"
|
||||
|
||||
/* Internal helpers */
|
||||
static void
|
||||
|
|
@ -41,7 +42,7 @@ add_scene_part(struct wl_list *part_list, enum ssd_part_type type)
|
|||
{
|
||||
struct ssd_part *part = znew(*part);
|
||||
part->type = type;
|
||||
wl_list_insert(part_list->prev, &part->link);
|
||||
wl_list_append(part_list, &part->link);
|
||||
return part;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue