diff options
author | Tomasz Wasilczyk <twasilczyk@pidgin.im> | 2013-09-21 11:54:03 +0200 |
---|---|---|
committer | Tomasz Wasilczyk <twasilczyk@pidgin.im> | 2013-09-21 11:54:03 +0200 |
commit | 8b1d74a7e246b4408d06d579bd65c180bc8b6b5c (patch) | |
tree | 16bfd9224ae5e65c214952d74713863606a973be /finch/gntnotify.c | |
parent | 0935e5e2da1d459207a0456785e4e98906c4f9e9 (diff) | |
download | pidgin-8b1d74a7e246b4408d06d579bd65c180bc8b6b5c.tar.gz |
Notify API: extend purple_notify_message with PurpleRequestCommonParameters
Diffstat (limited to 'finch/gntnotify.c')
-rw-r--r-- | finch/gntnotify.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/finch/gntnotify.c b/finch/gntnotify.c index dde80cf711..f9b00a0681 100644 --- a/finch/gntnotify.c +++ b/finch/gntnotify.c @@ -54,7 +54,8 @@ notify_msg_window_destroy_cb(GntWidget *window, PurpleNotifyMsgType type) static void * finch_notify_message(PurpleNotifyMsgType type, const char *title, - const char *primary, const char *secondary) + const char *primary, const char *secondary, + PurpleRequestCommonParameters *cpar) { GntWidget *window, *button; GntTextFormatFlags pf = 0, sf = 0; @@ -156,7 +157,7 @@ static void *finch_notify_formatted(const char *title, const char *primary, void *ret; purple_markup_html_to_xhtml(t, &xhtml, NULL); - ret = finch_notify_message(PURPLE_NOTIFY_FORMATTED, title, primary, xhtml); + ret = finch_notify_message(PURPLE_NOTIFY_FORMATTED, title, primary, xhtml, NULL); g_free(t); g_free(xhtml); @@ -249,7 +250,7 @@ finch_notify_emails(PurpleConnection *gc, size_t count, gboolean detailed, return NULL; } - ret = finch_notify_message(PURPLE_NOTIFY_EMAIL, _("New Mail"), _("You have mail!"), message->str); + ret = finch_notify_message(PURPLE_NOTIFY_EMAIL, _("New Mail"), _("You have mail!"), message->str, NULL); g_string_free(message, TRUE); return ret; } @@ -503,7 +504,7 @@ finch_notify_searchresults(PurpleConnection *gc, const char *title, static void * finch_notify_uri(const char *url) { - return finch_notify_message(PURPLE_NOTIFY_URI, _("URI"), url, NULL); + return finch_notify_message(PURPLE_NOTIFY_URI, _("URI"), url, NULL, NULL); } static PurpleNotifyUiOps ops = |