~ubuntu-branches/ubuntu/maverick/awn-extras-applets/maverick

« back to all changes in this revision

Viewing changes to applets/maintained/notification-area/notification-area.vala

  • Committer: Bazaar Package Importer
  • Author(s): Julien Lavergne
  • Date: 2010-04-11 22:38:55 UTC
  • mto: (2.2.5 sid)
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: james.westby@ubuntu.com-20100411223855-bb0ovgd1kerhtyv8
Tags: upstream-0.4.0
ImportĀ upstreamĀ versionĀ 0.4.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
407
407
    // those which should still be displayed
408
408
    foreach (weak Widget icon in this.table.get_children ())
409
409
    {
410
 
      int del;
411
 
 
412
 
      del = (int)icon.get_qdata (this.deletion_quark);
413
 
      if (del != 0)
 
410
      void* del = icon.get_qdata (this.deletion_quark);
 
411
      if (del != null)
414
412
      {
415
413
        this.table.remove (icon);
416
414
      }
444
442
    // display tray icons which were added
445
443
    foreach (weak EggTray.Child icon in this.tray_icons)
446
444
    {
447
 
      int added;
448
 
      added = (int)icon.get_qdata (this.addition_quark);
 
445
      void* added = icon.get_qdata (this.addition_quark);
449
446
 
450
 
      if (added == 0) continue;
 
447
      if (added == null) continue;
451
448
 
452
449
      icon.set_qdata (this.addition_quark, 0.to_pointer());
453
450
      this.table.attach_defaults (icon, col, col+1, row, row+1);