Logo Search packages:      
Sourcecode: adesklets version File versions

Imlib_Updates imlib_updates_append_updates ( Imlib_Updates  updates,
Imlib_Updates  appended_updates 
)

Parameters:
updates An updates list.
appended_updates The updates list to append.
Returns:
The new updates list.
Appends appended_updates to the updates list updates and returns the new list.

Definition at line 3260 of file imlib2.c.

{
   ImlibUpdate        *u, *uu;

   if (!ctx)
      ctx = imlib_context_new();
   u = (ImlibUpdate *) updates;
   uu = (ImlibUpdate *) appended_updates;
   if (!uu)
      return (Imlib_Updates) u;
   if (!u)
      return (Imlib_Updates) uu;
   while (u)
     {
        if (!(u->next))
          {
             u->next = uu;
             return updates;
          }
        u = u->next;
     }
   return (Imlib_Updates) u;
}


Generated by  Doxygen 1.6.0   Back to index