/* * call-seq: * show * * Tells the notification server to display the notification on the screen. * if TRUE returns, show the notification otherwise returns FALSE */ static VALUE _wrap_notification_show(VALUE self) { NotifyNotification *n = NOTIFY_NOTIFICATION(RVAL2GOBJ(self)); #ifdef DEBUG if(NOTIFY_IS_NOTIFICATION(n)) rb_warn("show, ok"); else rb_warn("show, no ok"); #endif if(notify_notification_show(n, NULL) == TRUE) return Qtrue; return Qfalse; }