/* * call-seq: * close * * Tells the notification server to hide the notification on the screen. */ static VALUE _wrap_notification_close(VALUE self) { NotifyNotification *n = NOTIFY_NOTIFICATION(RVAL2GOBJ(self)); #ifdef DEBUG if(NOTIFY_IS_NOTIFICATION(n)) rb_warn("close, ok"); else rb_warn("close, no ok"); #endif if(notify_notification_close(n, NULL)) return Qtrue; return Qfalse; }