~ubuntu-core-dev/update-notifier/ubuntu

« back to all changes in this revision

Viewing changes to src/hooks.c

  • Committer: Michael Vogt
  • Date: 2009-03-26 10:04:40 UTC
  • Revision ID: michael.vogt@ubuntu.com-20090326100440-da2q3504g0u29ndx
fix crash in --debug mode (LP: #348883)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
g_debug_hooks(const char *msg, ...)
33
33
{
34
34
   va_list va;
35
 
   
36
 
   g_log("hooks",G_LOG_LEVEL_DEBUG, msg, va);
 
35
   va_start(va, msg);
 
36
   g_logv("hooks",G_LOG_LEVEL_DEBUG, msg, va);
 
37
   va_end(va);
37
38
}
38
39
 
39
40
void hooks_trayicon_update_tooltip (TrayApplet *un, int num_hooks)