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

« back to all changes in this revision

Viewing changes to src/update-notifier.c

  • Committer: Michael Vogt
  • Date: 2007-07-27 21:00:33 UTC
  • Revision ID: michael.vogt@ubuntu.com-20070727210033-bswe0d6tdsmx14x6
* fix crash in leftover from pre-GtkStatusIcon code (LP: #127965)
* consitently use notify_notification_new_with_status_icon()

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
        /* setup widgets */
90
90
        un->tray_icon = gtk_status_icon_new_from_icon_name (name);
91
91
        un->name = name;
92
 
        gtk_status_icon_set_visible (un->tray_icon, TRUE);
 
92
        gtk_status_icon_set_visible (un->tray_icon, FALSE);
93
93
 
94
94
        return TRUE;
95
95
}