/* * call-seq: * clear_actions * * Clears all actions from the notification. Remember to use this method before call the Notification#close method. */ static VALUE _wrap_notification_clear_actions(VALUE self) { NotifyNotification *n = NOTIFY_NOTIFICATION(RVAL2GOBJ(self)); #ifdef DEBUG if(NOTIFY_IS_NOTIFICATION(n)) rb_warn("clear_actions, ok"); else rb_warn("clear_actions, no ok"); #endif notify_notification_clear_actions(n); return Qnil; }