Ignore:
Timestamp:
Mar 10, 2007, 4:21:32 PM (18 years ago)
Author:
cinc
Message:

Added doxygen tags.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/desktop/class_c/wpfolder.c

    r244 r245  
    168168 */
    169169NOM_Scope gulong NOMLINK impl_WPFolder_wpAddToContent(WPFolder* nomSelf, const PWPObject wpObject,
    170                                                       const CORBA_char * chrFileName, CORBA_Environment *ev)
     170                                                      CORBA_Environment *ev)
    171171{
    172172  WPFolderData* nomThis=WPFolderGetData(nomSelf);
     
    176176  pValue->pGTree=_fldrObjects;
    177177  pValue->wpObject=wpObject;
    178   pValue->chrKey=NOMPath_copyCString( WPFileSystem_wpQueryFileName(wpObject, FALSE, NULLHANDLE)
     178  pValue->chrKey=NOMPath_copyCString( WPFileSystem_wpQueryFileName((WPFileSystem*)wpObject, FALSE, NULLHANDLE)
    179179                                      , NULLHANDLE);
    180180
     
    188188{
    189189
    190   g_message("%s: key %x (%s), value %x, data %d", __FUNCTION__, key, key, pValue, data);
     190  g_message("%s: key %p (%s), value %p, data %d", __FUNCTION__, key, (char*)key, pValue, (int)data);
    191191  return FALSE;
    192192}
     
    218218     g_tree_remove() will reinsert any object coming by so g_tree_remove() can't
    219219     be used. */
    220   g_tree_steal(_fldrObjects, NOMPath_queryCString(WPFileSystem_wpQueryFileName(wpObject, FALSE, NULLHANDLE),
     220  g_tree_steal(_fldrObjects, NOMPath_queryCString(WPFileSystem_wpQueryFileName((WPFileSystem*)wpObject,
     221                                                                               FALSE, NULLHANDLE),
    221222                                                  NULLHANDLE));
    222 
    223 
    224223  return TRUE;
    225224}
     
    242241
    243242#warning !!!!! Use Title here? !!!!!
    244   display_name=NOMPath_copyCString(WPFileSystem_wpQueryFileName(wpObject, FALSE, NULLHANDLE),
     243  display_name=NOMPath_copyCString(WPFileSystem_wpQueryFileName((WPFileSystem*)wpObject, FALSE, NULLHANDLE),
    245244                                   NULLHANDLE);/* Do we need a copy here? */
    246245
     
    280279  if(_pListStore)
    281280    {
    282       /* Each object which is added to a store */
     281      /* Find the correct STOREITEM for this folder */
    283282      pui=_wpFindUseItem(wpObject, USAGE_STORE,
    284283                         NULLHANDLE, NULLHANDLE);
     
    296295          }
    297296        pui--;
    298         pui=_wpFindUseItem(wpObject, USAGE_STORE,
    299                            pui, NULLHANDLE);
     297        pui=_wpFindUseItem(wpObject, USAGE_STORE, pui, NULLHANDLE);
    300298      }
    301299    }
     
    366364#endif
    367365              /* insert into contents list */
    368               WPFolder_wpAddToContent(nomSelf, wpObject, gchrCurrentEntry, NULLHANDLE);
     366              WPFolder_wpAddToContent(nomSelf, wpObject, NULLHANDLE);
    369367            }/* if(nomIsObj(wpObject)) */
    370368          g_free (path);
     
    501499              }
    502500
    503             gtkIconView=WPFolderWindow_wpQueryContainerHandle(wpFldrWindow, NULLHANDLE);
     501            gtkIconView=(GtkIconView*)WPFolderWindow_wpQueryContainerHandle(wpFldrWindow, NULLHANDLE);
    504502           
    505503            gtk_icon_view_set_model(GTK_ICON_VIEW (gtkIconView),
Note: See TracChangeset for help on using the changeset viewer.