| 487 account_id = g_variant_get_string(parameter, NULL); |
487 account_id = g_variant_get_string(parameter, NULL); |
| 488 account_manager = purple_account_manager_get_default(); |
488 account_manager = purple_account_manager_get_default(); |
| 489 account = purple_account_manager_find_by_id(account_manager, account_id); |
489 account = purple_account_manager_find_by_id(account_manager, account_id); |
| 490 |
490 |
| 491 notification = purple_notification_new(PURPLE_NOTIFICATION_TYPE_GENERIC, |
491 notification = purple_notification_new(PURPLE_NOTIFICATION_TYPE_GENERIC, |
| 492 account, g_strdup(puns[counter]), |
492 account, NULL, NULL); |
| 493 g_free); |
493 purple_notification_set_title(notification, puns[counter]); |
| |
494 purple_notification_set_icon_name(notification, "im-purple-demo"); |
| 494 |
495 |
| 495 notification_manager = purple_notification_manager_get_default(); |
496 notification_manager = purple_notification_manager_get_default(); |
| 496 purple_notification_manager_add(notification_manager, notification); |
497 purple_notification_manager_add(notification_manager, notification); |
| 497 |
498 |
| 498 counter++; |
499 counter++; |