Changeset 2695


Ignore:
Timestamp:
08/13/07 18:03:52 (6 years ago)
Author:
njp
Message:

2007-08-13 Neil J. Patel <njp@…>

  • Makefile.am:
  • configure.ac:
  • mokojournal-tool/Makefile.am:
  • mokojournal-tool/mokojournal-tool.c: (main), (_add), (_list): Add a simple tool to query and manipulate the journal from the shell. It will help with debugging. List method implemented so far.
  • mokojournal/moko-journal.c: (moko_journal_load_from_storage), If an error is detected, return FALSE. (moko_journal_entry_has_voice_info): Keep the type check inline, to avoid unnecessary throwing of warnings.
Location:
trunk/src/target/OM-2007.2/libraries/libmokojournal2
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007.2/libraries/libmokojournal2/ChangeLog

    r2617 r2695  
     12007-08-13  Neil J. Patel  <njp@o-hand.com> 
     2 
     3        * Makefile.am: 
     4        * configure.ac: 
     5        * mokojournal-tool/Makefile.am: 
     6        * mokojournal-tool/mokojournal-tool.c: (main), (_add), (_list): 
     7        Add a simple tool to query and manipulate the journal from the shell. It 
     8        will help with debugging. List method implemented so far. 
     9 
     10        * mokojournal/moko-journal.c: (moko_journal_load_from_storage), 
     11        If an error is detected, return FALSE. 
     12        (moko_journal_entry_has_voice_info): 
     13        Keep the type check inline, to avoid unnecessary throwing of warnings. 
     14 
    1152007-08-03  Neil J. Patel  <njp@o-hand.com> 
    216 
  • trunk/src/target/OM-2007.2/libraries/libmokojournal2/Makefile.am

    r2558 r2695  
    1 SUBDIRS = mokojournal tests 
     1SUBDIRS = mokojournal mokojournal-tool tests 
    22 
    33pcdata_DATA= libmokojournal2.pc 
  • trunk/src/target/OM-2007.2/libraries/libmokojournal2/configure.ac

    r2616 r2695  
    4141libmokojournal2.pc 
    4242mokojournal/Makefile 
     43mokojournal-tool/Makefile 
    4344tests/Makefile 
    4445]) 
  • trunk/src/target/OM-2007.2/libraries/libmokojournal2/mokojournal/moko-journal.c

    r2617 r2695  
    15371537    g_error_free (error) ; 
    15381538    error = NULL ; 
     1539    return FALSE; 
    15391540  } 
    15401541  if (objs) 
     
    20442045{ 
    20452046  g_return_val_if_fail (entry, FALSE); 
    2046  
    2047   MokoJournalVoiceInfo *info = NULL; 
    2048   return moko_journal_entry_get_voice_info (entry, &info) && info; 
     2047   
     2048  if (entry->type == VOICE_JOURNAL_ENTRY) 
     2049    return TRUE; 
     2050  else 
     2051    return FALSE; 
    20492052} 
    20502053 
Note: See TracChangeset for help on using the changeset viewer.