Updated blist_cbs.pxd.
[python-purple] / notify_cbs.pxd
index ed6dbd6..11ee894 100644 (file)
@@ -27,7 +27,7 @@ cdef extern from *:
 
 cdef void *notify_message (notify.PurpleNotifyMsgType type, const_char *title,
                            const_char *primary, const_char *secondary):
-    debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-message\n")
+    debug.c_purple_debug_info("notify", "%s", "notify-message\n")
     try:
         (<object>notify_cbs["notify-message"])("notify-message: TODO")
     except KeyError:
@@ -35,7 +35,7 @@ cdef void *notify_message (notify.PurpleNotifyMsgType type, const_char *title,
 
 cdef void *notify_email (connection.PurpleConnection *gc, const_char *subject,
                          const_char *_from, const_char *to, const_char *url):
-    debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-email\n")
+    debug.c_purple_debug_info("notify", "%s", "notify-email\n")
     try:
         (<object>notify_cbs["notify-email"])("notify-email: TODO")
     except KeyError:
@@ -45,7 +45,7 @@ cdef void *notify_emails (connection.PurpleConnection *gc, size_t count,
                           glib.gboolean detailed, const_char **subjects,
                           const_char **froms, const_char **tos,
                           const_char **urls):
-    debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-emails\n")
+    debug.c_purple_debug_info("notify", "%s", "notify-emails\n")
     try:
         (<object>notify_cbs["notify-emails"])("notify-emails: TODO")
     except KeyError:
@@ -53,7 +53,7 @@ cdef void *notify_emails (connection.PurpleConnection *gc, size_t count,
 
 cdef void *notify_formatted (const_char *title, const_char *primary,
                              const_char *secondary, const_char *text):
-    debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-formatted\n")
+    debug.c_purple_debug_info("notify", "%s", "notify-formatted\n")
     try:
         (<object>notify_cbs["notify-formatted"])("notify-formatted: TODO")
     except KeyError:
@@ -64,8 +64,7 @@ cdef void *notify_searchresults (connection.PurpleConnection *gc,
                                  const_char *secondary,
                                  notify.PurpleNotifySearchResults *results,
                                  glib.gpointer user_data):
-    debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify",
-                         "notify-searchresults\n")
+    debug.c_purple_debug_info("notify", "%s", "notify-searchresults\n")
     try:
         (<object>notify_cbs["notify-searchresults"])("notify-searchresults: TODO")
     except KeyError:
@@ -74,8 +73,7 @@ cdef void *notify_searchresults (connection.PurpleConnection *gc,
 cdef void notify_searchresults_new_rows (connection.PurpleConnection *gc,
                             notify.PurpleNotifySearchResults *results,
                             void *data):
-    debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify",
-                         "notify-searchresults-new-rows\n")
+    debug.c_purple_debug_info("notify", "%s", "notify-searchresults-new-rows\n")
     try:
         (<object>notify_cbs["notify-searchresults-new-rows"])("notify-searchresults-new-rows: TODO")
     except KeyError:
@@ -83,21 +81,21 @@ cdef void notify_searchresults_new_rows (connection.PurpleConnection *gc,
 
 cdef void *notify_userinfo (connection.PurpleConnection *gc, const_char *who,
                             notify.PurpleNotifyUserInfo *user_info):
-    debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-userinfo\n")
+    debug.c_purple_debug_info("notify", "%s", "notify-userinfo\n")
     try:
         (<object>notify_cbs["notify-userinfo"])("notify-userinfo: TODO")
     except KeyError:
         pass
 
 cdef void *notify_uri (const_char *uri):
-    debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "notify-uri\n")
+    debug.c_purple_debug_info("notify", "%s", "notify-uri\n")
     try:
         (<object>notify_cbs["notify-uri"])("notify-uri: TODO")
     except KeyError:
         pass
 
 cdef void close_notify (notify.PurpleNotifyType type, void *ui_handle):
-    debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "notify", "close-notify\n")
+    debug.c_purple_debug_info("notify", "%s", "close-notify\n")
     try:
         (<object>notify_cbs["close-notify"])("close-notify: TODO")
     except KeyError: