Changeset 0864a52 for protocols/bee.h


Ignore:
Timestamp:
2015-05-28T05:26:30Z (9 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
b38f655
Parents:
faeb521
git-author:
dequis <dx@…> (08-05-15 04:16:37)
git-committer:
dequis <dx@…> (28-05-15 05:26:30)
Message:

imcb_notify_email: change parameters to take a format string

Saves some messing with g_strdup_printf for the callers, and
flags/sent_at weren't used anyway.

Also check if the mail_notifications setting is enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/bee.h

    rfaeb521 r0864a52  
    156156G_MODULE_EXPORT void imcb_buddy_msg(struct im_connection *ic, const char *handle, const char *msg, guint32 flags,
    157157                                    time_t sent_at);
    158 G_MODULE_EXPORT void imcb_notify_email(struct im_connection *ic, const char *handle, char *msg, guint32 flags,
    159                                        time_t sent_at);
     158G_MODULE_EXPORT void imcb_notify_email(struct im_connection *ic, char *format, ...) G_GNUC_PRINTF(2, 3);
    160159
    161160/* bee_chat.c */
Note: See TracChangeset for help on using the changeset viewer.